summaryrefslogtreecommitdiff
path: root/include/target.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-04 11:21:37 +0000
committerJohn Crispin <john@openwrt.org>2011-07-04 11:21:37 +0000
commitad250089aa5d3152774f87941606837c3534f6bd (patch)
tree13fd06291a8501af5a7a3ef97a429a2a620f850e /include/target.mk
parent04fefa4a2860d33c16434859a7a2b182eb8406e5 (diff)
downloadmtk-20170518-ad250089aa5d3152774f87941606837c3534f6bd.zip
mtk-20170518-ad250089aa5d3152774f87941606837c3534f6bd.tar.gz
mtk-20170518-ad250089aa5d3152774f87941606837c3534f6bd.tar.bz2
allow targets to define a default subtarget when using automatic subtarget detection from r27407
SVN-Revision: 27444
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index cfd7c9f..af32309 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -215,6 +215,7 @@ define BuildTargets/DumpCurrent
echo 'Linux-Version: $(LINUX_VERSION)'; \
echo 'Linux-Release: $(LINUX_RELEASE)'; \
echo 'Linux-Kernel-Arch: $(LINUX_KARCH)'; \
+ $(if $(SUBTARGET),,$(if $(DEFAULT_SUBTARGET), echo 'Default-Subtarget: $(DEFAULT_SUBTARGET)'; ))
echo 'Target-Description:'; \
$(SH_FUNC) getvar $(call shvar,Target/Description); \
echo '@@'; \