projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: suppress redundant calls to headers installation
[openwrt.git]
/
include
/
package-defaults.mk
diff --git
a/include/package-defaults.mk
b/include/package-defaults.mk
index
3068d2b
..
c349676
100644
(file)
--- a/
include/package-defaults.mk
+++ b/
include/package-defaults.mk
@@
-5,6
+5,12
@@
# See /LICENSE for more information.
#
# 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
define Package/Default
CONFIGFILE:=
SECTION:=opt
@@
-50,7
+56,7
@@
endef
Build/Patch:=$(Build/Patch/Default)
ifneq ($(strip $(PKG_UNPACK)),)
define Build/Prepare/Default
Build/Patch:=$(Build/Patch/Default)
ifneq ($(strip $(PKG_UNPACK)),)
define Build/Prepare/Default
- $(
SH_FUNC) $(
PKG_UNPACK)
+ $(PKG_UNPACK)
$(Build/Patch)
endef
endif
$(Build/Patch)
endef
endif