1 ################################################################################
5 ################################################################################
7 LINUX_FUSION_VERSION
= 9.0.2
8 LINUX_FUSION_SITE
= http
://directfb.org
/downloads
/Core
/linux-fusion
9 LINUX_FUSION_INSTALL_STAGING
= YES
10 LINUX_FUSION_DEPENDENCIES
= linux
11 LINUX_FUSION_LICENSE
= GPLv2
+
12 LINUX_FUSION_LICENSE_FILES
= debian
/copyright
14 LINUX_FOR_FUSION
= $(LINUX_VERSION_PROBED
)
15 LINUX_FUSION_ETC_DIR
= $(TARGET_DIR
)/etc
/udev
/rules.d
17 LINUX_FUSION_MAKE_OPTS
= KERNEL_VERSION
=$(LINUX_FOR_FUSION
)
18 LINUX_FUSION_MAKE_OPTS
+= KERNEL_BUILD
=$(LINUX_DIR
)
19 LINUX_FUSION_MAKE_OPTS
+= KERNEL_SOURCE
=$(LINUX_DIR
)
21 LINUX_FUSION_MAKE_OPTS
+= SYSROOT
=$(TARGET_DIR
)
22 LINUX_FUSION_MAKE_OPTS
+= ARCH
=$(KERNEL_ARCH
)
23 LINUX_FUSION_MAKE_OPTS
+= CROSS_COMPILE
=$(TARGET_CROSS
)
24 LINUX_FUSION_MAKE_OPTS
+= KERNEL_MODLIB
=/lib
/modules
/$(LINUX_FOR_FUSION
)/kernel
26 define LINUX_FUSION_BUILD_CMDS
27 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) $(LINUX_FUSION_MAKE_OPTS
) -C
$(@D
)
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
34 define LINUX_FUSION_INSTALL_TARGET_CMDS
35 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) \
36 $(LINUX_FUSION_MAKE_OPTS
) \
37 INSTALL_MOD_PATH
=$(TARGET_DIR
) \
39 $(INSTALL
) -D
-m
644 package
/linux-fusion
/40-fusion.rules \
40 $(LINUX_FUSION_ETC_DIR
)/40-fusion.rules
43 $(eval
$(generic-package
))