mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
fix target profiles, (closes: 2440)
SVN-Revision: 9113
This commit is contained in:
parent
f1593e5c28
commit
e12359aa29
@ -75,10 +75,22 @@ define Profile
|
||||
endif
|
||||
endef
|
||||
|
||||
ifeq ($(if $(TARGET_BUILD),$(DUMP)),1)
|
||||
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
|
||||
define IncludeProfiles
|
||||
-include $(PLATFORM_DIR)/profiles/*.mk
|
||||
ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR))
|
||||
-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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user