projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0844a
)
avoid repeating the same dependency multiple times
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Mar 2009 14:54:19 +0000
(14:54 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Mar 2009 14:54:19 +0000
(14:54 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14738
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/kernel.mk
patch
|
blob
|
history
diff --git
a/include/kernel.mk
b/include/kernel.mk
index
2856777
..
39be10a
100644
(file)
--- a/
include/kernel.mk
+++ b/
include/kernel.mk
@@
-94,6
+94,12
@@
ifeq ($(DUMP)$(TARGET_BUILD),)
-include $(LINUX_DIR)/.config
endif
+define KernelPackage/depends
+ $(STAMP_BUILT): $(LINUX_DIR)/.config
+ define KernelPackage/depends
+ endef
+endef
+
define KernelPackage
NAME:=$(1)
$(eval $(call Package/Default))
@@
-126,7
+132,7
@@
$(call KernelPackage/$(1)/config)
endef
endif
- $(
STAMP_BUILT): $(LINUX_DIR)/.config
+ $(
call KernelPackage/depends)
ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
ifneq ($(strip $(FILES)),)
This page took
0.027331 seconds
and
4
git commands to generate.