summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-20 16:23:37 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-20 16:24:04 +0200
commit96a2bfae973b0fa321528c5977f33287ae053b31 (patch)
treeb99de53064890f901cf48e335d5a14bf74fd3513 /mk
parent643e5d94ee0e3def43e7c0f984b51801f8336cc6 (diff)
libsndfile: needs c++, autoselect c++ toolchain option
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 0223657ff..a83ce2185 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -118,6 +118,10 @@ POSTCONFIG= -@\
touch .rebuild.dropbear .rebuild.openssh;\
rebuild=1;\
fi; \
+ if [ "$$(grep ^ADK_TOOLCHAIN_WITH .config|md5sum)" != "$$(grep ^ADK_TOOLCHAIN_WITH .config.old|md5sum)" ];then \
+ cleandir=1;\
+ rebuild=1;\
+ fi; \
if [ "$$(grep ^ADK_TARGET_KERNEL_VERSION .config|md5sum)" != "$$(grep ^ADK_TARGET_KERNEL_VERSION .config.old|md5sum)" ];then \
cleandir=1;\
rebuild=1;\