projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix quilt related unpack/patch error
[openwrt.git]
/
include
/
target.mk
diff --git
a/include/target.mk
b/include/target.mk
index d0f7b9bc2b597c395caa95e1fcc237c90ffb96e2..1718a869c14780853bc61c69f9d66cf4769d87b7 100644
(file)
--- a/
include/target.mk
+++ b/
include/target.mk
@@
-5,14
+5,16
@@
# See /LICENSE for more information.
#
# See /LICENSE for more information.
#
-include $(TMP_DIR)/.target.mk
define AddProfile
define AddProfile
- ifeq ($(CONFIG_LINUX_$(call confname,$(KERNEL)_$(1))),y)
- PROFILE=$(1)
+ ifeq ($(CONFIG_LINUX_$(1)),y)
+ $(call Profile/$(1))
+ PROFILE=$$(ID)
endif
endef
endif
endef
+include $(TMP_DIR)/.target.mk
+
ifeq ($(IB),1)
$(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
$(CP) $< $@
ifeq ($(IB),1)
$(TMP_DIR)/.target.mk: $(TOPDIR)/.target.mk
$(CP) $< $@