diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-10 20:27:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-10 20:27:37 +0000 |
commit | edee850e181abba55d7cb03788d75fc3bac2a54a (patch) | |
tree | ebd4851c122c1e39b39fb9c5f864de95e330f541 /include/package-defaults.mk | |
parent | 9fe1b02ddf7e431da3320411a9048cc9ce0f543e (diff) | |
download | upstream-edee850e181abba55d7cb03788d75fc3bac2a54a.tar.gz upstream-edee850e181abba55d7cb03788d75fc3bac2a54a.tar.bz2 upstream-edee850e181abba55d7cb03788d75fc3bac2a54a.zip |
build: add a dependency on libc to all non-kernel packages
SVN-Revision: 32171
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r-- | include/package-defaults.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 75442925f1..c3496767cf 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -5,6 +5,12 @@ # See /LICENSE for more information. # +ifneq ($(PKG_NAME),toolchain) + PKG_FIXUP_DEPENDS = $(if $(filter kmod-%,$(1)),$(2),+libc $(filter-out +libc,$(2))) +else + PKG_FIXUP_DEPENDS = $(2) +endif + define Package/Default CONFIGFILE:= SECTION:=opt |