diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2018-01-02 09:28:12 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2018-01-02 09:29:57 +0100 |
commit | f6634c53e156b30ad0b13b570cce8a39566db038 (patch) | |
tree | 0d55ddd531710600dad466f64a1a7d72109b5397 | |
parent | d1ed3f1b9ed9d09a4a655affa45516282cbe8801 (diff) |
add extra check if ADK_TARGET_KERNEL_USE_DEFCONFIG is enabled, but ADK_TARGET_KERNEL_DEFCONFIG is empty
-rw-r--r-- | mk/build.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk index fc293bcfa..671335799 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -141,6 +141,11 @@ POSTCONFIG= -@\ if [ $$cleandir -eq 1 ];then \ echo "You should rebuild with 'make cleansystem'";\ fi; \ + if [ "$$(grep ^ADK_TARGET_KERNEL_USE_DEFCONFIG .config)" ];then \ + if [ "$$(grep ^ADK_TARGET_KERNEL_DEFCONFIG .config|awk -F= '{print $$2}')" == '""' ];then \ + echo "custom Linux defconfig name missing";\ + fi; \ + fi; \ if [ $$rebuild -eq 1 ];then \ cp .config .config.old;\ fi; \ |