diff options
author | Rob Landley <rob@landley.net> | 2018-10-27 10:54:18 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-10-27 10:54:18 -0500 |
commit | c9571603db299259bca8271917688455696c14ce (patch) | |
tree | adbc53fbb6bae99e18ecabab22e73a8d72b52485 /Makefile | |
parent | 71984f3e28827549aad5b77939cdeeb62382ecb0 (diff) | |
download | toybox-c9571603db299259bca8271917688455696c14ce.tar.gz |
Fix "make distclean defconfig toybox" all on one line (good of $CROSS_COMPILER
changed), better error message when .config missing.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,11 @@ include kconfig/Makefile -include .singlemake $(KCONFIG_CONFIG): $(KCONFIG_TOP) -$(KCONFIG_TOP): generated/Config.in + @if [ -e "$(KCONFG_CONFIG)" ]; then make silentoldconfig; \ + else echo "Not configured (run 'make defconfig' or 'make menuconfig')";\ + exit 1; fi + +$(KCONFIG_TOP): generated/Config.in generated/Config.probed generated/Config.in: toys/*/*.c scripts/genconfig.sh scripts/genconfig.sh |