mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 19:31:34 +02:00
build: add a dependency on libc to all non-kernel packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32171 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
bc38f26d42
commit
bc5ad537db
@ -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
|
||||
|
@ -30,7 +30,7 @@ $(if $(MENU),Menu: $(MENU)
|
||||
)$(if $(DEFAULT),Default: $(DEFAULT)
|
||||
)$(if $(findstring $(PREREQ_CHECK),1),Prereq-Check: 1
|
||||
)Version: $(VERSION)
|
||||
Depends: $(DEPENDS)
|
||||
Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS))
|
||||
Menu-Depends: $(MDEPENDS)
|
||||
Provides: $(PROVIDES)
|
||||
$(if $(VARIANT),Build-Variant: $(VARIANT)
|
||||
|
Loading…
Reference in New Issue
Block a user