aboutsummaryrefslogtreecommitdiff
path: root/package/fusion/fusion.mk
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 18:19:45 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-08-12 18:19:45 +0000
commitdcab96b108ce577894e176be92b9b268c7a40d67 (patch)
treeeb1b6b9492a389f53d04ca4af373fd90414040bf /package/fusion/fusion.mk
parent2582f551f388f554ce4c44af5836c01f226fbb92 (diff)
downloadbuildroot-dcab96b108ce577894e176be92b9b268c7a40d67.tar.gz
buildroot-dcab96b108ce577894e176be92b9b268c7a40d67.tar.bz2
Add support for fusion linux module
Diffstat (limited to 'package/fusion/fusion.mk')
-rw-r--r--package/fusion/fusion.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/fusion/fusion.mk b/package/fusion/fusion.mk
new file mode 100644
index 0000000000..ec1e40bf6c
--- /dev/null
+++ b/package/fusion/fusion.mk
@@ -0,0 +1,41 @@
+#############################################################
+#
+# linux-fusion
+#
+#############################################################
+LINUX_FUSION_VERSION:=3.2.3
+LINUX_FUSION_SOURCE:=linux-fusion-$(LINUX_FUSION_VERSION).tar.gz
+LINUX_FUSION_SITE:=http://www.directfb.org/downloads/Core
+LINUX_FUSION_CAT:=$(ZCAT)
+LINUX_FUSION_DIR:=$(TARGET_DIR)/etc/udev/rules.d
+LINUX_FUSION:=40-fusion.rules
+LINUX_FUSION_HEADER=$(STAGING_DIR)/usr/include/linux/fusion.h
+
+#############################################################
+#
+# build linux-fusion
+#
+#############################################################
+
+$(LINUX_FUSION_HEADER):
+ cp -dpf package/fusion/fusion.h $(LINUX_FUSION_HEADER)
+
+$(LINUX_FUSION_DIR)/$(LINUX_FUSION):
+ mkdir -p $(LINUX_FUSION_DIR)
+ cp -dpf package/fusion/40-fusion.rules $(LINUX_FUSION_DIR)
+ touch -c $@
+
+linux-fusion: $(LINUX_FUSION_DIR)/$(LINUX_FUSION) $(LINUX_FUSION_HEADER)
+
+linux-fusion-clean:
+ rm -f $(LINUX_FUSION_DIR)/$(LINUX_FUSION))
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_LINUX_FUSION)),y)
+TARGETS+=linux-fusion
+endif
+