fix target profiles, (closes: 2440)

SVN-Revision: 9113
v19.07.3_mercusys_ac12_duma
Gabor Juhos 17 years ago
parent f1593e5c28
commit e12359aa29

@ -1,4 +1,4 @@
# #
# Copyright (C) 2007 OpenWrt.org # Copyright (C) 2007 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
@ -75,10 +75,22 @@ define Profile
endif endif
endef endef
ifeq ($(if $(TARGET_BUILD),$(DUMP)),1) ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
-include $(PLATFORM_DIR)/profiles/*.mk define IncludeProfiles
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR)) -include $(PLATFORM_DIR)/profiles/*.mk
-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…
Cancel
Save