python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / linux-fusion / linux-fusion.mk
blob35ed28e710fe06be932bbc488f988fba7bed78a2
1 ################################################################################
3 # linux-fusion
5 ################################################################################
7 LINUX_FUSION_VERSION = 9.0.3
8 LINUX_FUSION_SITE = http://directfb.org/downloads/Core/linux-fusion
9 LINUX_FUSION_SOURCE = linux-fusion-$(LINUX_FUSION_VERSION).tar.xz
10 LINUX_FUSION_INSTALL_STAGING = YES
11 LINUX_FUSION_DEPENDENCIES = linux
12 LINUX_FUSION_LICENSE = GPLv2+
13 LINUX_FUSION_LICENSE_FILES = debian/copyright
15 LINUX_FUSION_ETC_DIR = $(TARGET_DIR)/etc/udev/rules.d
17 LINUX_FUSION_MAKE_OPTS = \
18 KERNEL_VERSION=$(LINUX_VERSION_PROBED) \
19 KERNEL_BUILD=$(LINUX_DIR) \
20 KERNEL_SOURCE=$(LINUX_DIR) \
21 SYSROOT=$(TARGET_DIR) \
22 ARCH=$(KERNEL_ARCH) \
23 CROSS_COMPILE=$(TARGET_CROSS) \
24 KERNEL_MODLIB=/lib/modules/$(LINUX_VERSION_PROBED)/kernel
26 define LINUX_FUSION_BUILD_CMDS
27 $(TARGET_CONFIGURE_OPTS) $(MAKE) $(LINUX_FUSION_MAKE_OPTS) -C $(@D)
28 endef
30 define LINUX_FUSION_INSTALL_STAGING_CMDS
31 $(TARGET_CONFIGURE_OPTS) $(MAKE) $(LINUX_FUSION_MAKE_OPTS) INSTALL_MOD_PATH=$(STAGING_DIR) -C $(@D) headers_install
32 endef
34 define LINUX_FUSION_INSTALL_TARGET_CMDS
35 $(TARGET_CONFIGURE_OPTS) $(MAKE) \
36 $(LINUX_FUSION_MAKE_OPTS) \
37 INSTALL_MOD_PATH=$(TARGET_DIR) \
38 -C $(@D) install
39 $(INSTALL) -D -m 644 package/linux-fusion/40-fusion.rules \
40 $(LINUX_FUSION_ETC_DIR)/40-fusion.rules
41 endef
43 $(eval $(generic-package))