From f6634c53e156b30ad0b13b570cce8a39566db038 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 2 Jan 2018 09:28:12 +0100 Subject: add extra check if ADK_TARGET_KERNEL_USE_DEFCONFIG is enabled, but ADK_TARGET_KERNEL_DEFCONFIG is empty --- mk/build.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mk/build.mk') 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; \ -- cgit v1.2.3