diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-07-09 21:57:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-07-09 21:57:42 +0200 |
commit | e584f82814e4cf34327ea311bce4dc40f0062db3 (patch) | |
tree | 38d097dba5e82ce4d3afa657ca4ebd0a9f4c3334 | |
parent | e8441eb5033da7f95aeee995bc87879f8cb129ab (diff) |
allow to build uClibc-ng natively
-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 c2c252c3c..4a39c426a 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -352,6 +352,12 @@ endif @if [ ! -z "$(ADK_UCLIBC_TEST)" ];then \ echo "ADK_UCLIBC_TEST=y" >> $(ADK_TOPDIR)/.defconfig; \ fi + @if [ ! -z "$(ADK_UCLIBC_NATIVE)" ];then \ + echo "ADK_PACKAGE_GCC=y" >> $(ADK_TOPDIR)/.defconfig; \ + echo "ADK_PACKAGE_BINUTILS=y" >> $(ADK_TOPDIR)/.defconfig; \ + echo "ADK_PACKAGE_MAKE=y" >> $(ADK_TOPDIR)/.defconfig; \ + echo "ADK_PACKAGE_UCLIBC_NG_DEV=y" >> $(ADK_TOPDIR)/.defconfig; \ + fi @if [ ! -z "$(ADK_TARGET_ARCH)" ];then \ grep "^config" target/config/Config.in.arch.choice \ |grep -i "$(ADK_TARGET_ARCH)"\$$ \ |