mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 06:17:31 +02:00
fix target profiles, (closes: 2440)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9113 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9706fcf487
commit
12e99cb789
@ -75,10 +75,22 @@ define Profile
|
|||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(if $(TARGET_BUILD),$(DUMP)),1)
|
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
|
||||||
|
define IncludeProfiles
|
||||||
-include $(PLATFORM_DIR)/profiles/*.mk
|
-include $(PLATFORM_DIR)/profiles/*.mk
|
||||||
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
|
|
||||||
-include $(PLATFORM_SUBDIR)/profiles/*.mk
|
-include $(PLATFORM_SUBDIR)/profiles/*.mk
|
||||||
|
endef
|
||||||
|
else
|
||||||
|
define IncludeProfiles
|
||||||
|
-include $(PLATFORM_DIR)/profiles/*.mk
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_BUILD),1)
|
||||||
|
$(eval $(call IncludeProfiles))
|
||||||
|
else
|
||||||
|
ifeq ($(DUMP),)
|
||||||
|
$(eval $(call IncludeProfiles))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user