aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/001-depends.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-23 04:01:03 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-23 04:01:03 +0000
commit5034b75865a98d32655a36b9dfb5d88b75352681 (patch)
treed99919ac999a2207ab313d264ed171891a636c16 /package/kernel/modules/001-depends.mk
parent3b9e0000ecdc5cc8992be825a986dd473007e53e (diff)
downloadupstream-5034b75865a98d32655a36b9dfb5d88b75352681.tar.gz
upstream-5034b75865a98d32655a36b9dfb5d88b75352681.tar.bz2
upstream-5034b75865a98d32655a36b9dfb5d88b75352681.zip
package/kernel: introduce a new file that will be sourced first and holding complex dependencies spread over multiple files, use it for kmod-crc16
SVN-Revision: 21101
Diffstat (limited to 'package/kernel/modules/001-depends.mk')
-rw-r--r--package/kernel/modules/001-depends.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk
new file mode 100644
index 0000000000..2446d3e4b9
--- /dev/null
+++ b/package/kernel/modules/001-depends.mk
@@ -0,0 +1,16 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# XXX: xburst has CONFIG_CRC16=y because of CONFIG_UBIFS_FS=y
+
+define SetDepends/crc16
+ DEPENDS:= @!TARGET_xburst
+endef
+
+define AddDepends/crc16
+ DEPENDS+= +!TARGET_xburst:kmod-crc16
+endef