diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2016-01-07 12:41:56 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-01-07 12:41:56 +0100 |
| commit | 3a4a628024fc05c3c33126852279a0fa655df61f (patch) | |
| tree | f816fa223559347962e6d1839132bc939aac6c57 | |
| parent | 612e70304df3288738a5e9f9cce3bc05d34c96a0 (diff) | |
allow to choose Xtensa target
| -rw-r--r-- | mk/build.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk index f4ba3d12b..6dcc85887 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -452,6 +452,12 @@ defconfig: .menu $(CONFIG)/conf |sed -e "s#^config \(.*\)#\1=y#" \ >> $(ADK_TOPDIR)/.defconfig; \ fi + @if [ ! -z "$(ADK_TARGET_XTENSA)" ];then \ + grep "^config" target/config/Config.in.xtensa \ + |grep -i "$(ADK_TARGET_XTENSA)" \ + |sed -e "s#^config \(.*\)#\1=y#" \ + >> $(ADK_TOPDIR)/.defconfig; \ + fi @if [ ! -z "$(ADK_APPLIANCE)" ];then \ $(CONFIG)/conf --defconfig=.defconfig $(CONFIG_CONFIG_IN); \ fi |
