Merge pull request #4949 from commodo/python-lxml-update
[feed/packages.git] / kernel / exfat-nofuse / Makefile
1 #
2 # Copyright (C) 2014 Bruno Randolf <br1@einfach.org>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=exfat-nofuse
12 PKG_VERSION=2017-01-03-$(PKG_SOURCE_VERSION)
13 PKG_RELEASE:=1
14
15 PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.xz
16 PKG_MIRROR_HASH:=80abb670a59dfa62413e600cee7d13fc65b9980e00579edaa2573fab8568fe93
17 PKG_SOURCE_URL:=https://github.com/dorimanx/exfat-nofuse.git
18 PKG_SOURCE_PROTO:=git
19 PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
20 PKG_SOURCE_VERSION:=8d291f525ce6d88fe0d8b11b86fd5c2e900401d3
21
22 PKG_MAINTAINER:=Bruno Randolf <br1@einfach.org>
23 PKG_LICENSE:=GPL-2.0
24 PKG_LICENSE_FILES:=LICENSE
25
26 include $(INCLUDE_DIR)/package.mk
27
28 define KernelPackage/fs-exfat
29 SUBMENU:=Filesystems
30 TITLE:=ExFAT Kernel driver
31 FILES:=$(PKG_BUILD_DIR)/exfat.ko
32 AUTOLOAD:=$(call AutoLoad,30,exfat,1)
33 DEPENDS:=+kmod-nls-base @BUILD_PATENTED
34 endef
35
36 define KernelPackage/fs-exfat/description
37 Kernel module for ExFAT Filesytems
38 endef
39
40 MAKE_OPTS:= \
41 ARCH="$(LINUX_KARCH)" \
42 CROSS_COMPILE="$(TARGET_CROSS)" \
43 M="$(PKG_BUILD_DIR)"
44
45 define Build/Compile
46 $(MAKE) -C "$(LINUX_DIR)" \
47 $(MAKE_OPTS) \
48 CONFIG_EXFAT_FS=m \
49 modules
50 endef
51
52 $(eval $(call KernelPackage,fs-exfat))