mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 20:04:05 +02:00
avoid repeating the same dependency multiple times
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14738 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
1c0844a67a
commit
b158be34cf
@ -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)),)
|
||||
|
Loading…
Reference in New Issue
Block a user