summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 5a61d8d8b..d0a1cb8d6 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -117,6 +117,9 @@ POSTCONFIG= -@\
touch .rebuild.bkeymaps;\
rebuild=1;\
fi; \
+ if [ "$$(grep ^ADK_KERNEL_ADDON .config|md5sum)" != "$$(grep ^ADK_KERNEL_ADDON .config.old|md5sum)" ];then \
+ make cleankernel;\
+ fi; \
if [ $$rebuild -eq 1 ];then \
cp .config .config.old;\
fi; \