diff options
author | John Crispin <blogic@openwrt.org> | 2011-07-04 11:21:37 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-07-04 11:21:37 +0000 |
commit | 076d58c2cb6c9d0bb7c4e2fc6eb5f98286ab9b47 (patch) | |
tree | 85f25df0a728c4cfebaee3420c8ec98d693a2019 /include | |
parent | 51d389209766e1e9b0dde7ec70c90dbacb820553 (diff) | |
download | upstream-076d58c2cb6c9d0bb7c4e2fc6eb5f98286ab9b47.tar.gz upstream-076d58c2cb6c9d0bb7c4e2fc6eb5f98286ab9b47.tar.bz2 upstream-076d58c2cb6c9d0bb7c4e2fc6eb5f98286ab9b47.zip |
allow targets to define a default subtarget when using automatic subtarget detection from r27407
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27444 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/target.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk index cfd7c9f3c3..af3230925c 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 '@@'; \ |