diff options
author | Nicolas Thill <nico@openwrt.org> | 2010-04-23 04:01:03 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2010-04-23 04:01:03 +0000 |
commit | 5034b75865a98d32655a36b9dfb5d88b75352681 (patch) | |
tree | d99919ac999a2207ab313d264ed171891a636c16 /package/kernel/modules/001-depends.mk | |
parent | 3b9e0000ecdc5cc8992be825a986dd473007e53e (diff) | |
download | mtk-20170518-5034b75865a98d32655a36b9dfb5d88b75352681.zip mtk-20170518-5034b75865a98d32655a36b9dfb5d88b75352681.tar.gz mtk-20170518-5034b75865a98d32655a36b9dfb5d88b75352681.tar.bz2 |
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.mk | 16 |
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 0000000..2446d3e --- /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 |