summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prereq.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/prereq.sh b/scripts/prereq.sh
index 44aef4ef9..0ccbc589f 100755
--- a/scripts/prereq.sh
+++ b/scripts/prereq.sh
@@ -561,10 +561,15 @@ case $os in
;;
esac
+if [ "$target" = "defconfig" ]; then
+ $makebin ADK_TOPDIR=$topdir --no-print-directory -f Makefile.adk $flags $target
+ exit 0
+fi
+
if [ ! -f $topdir/.config ]; then
- # create a config if no exist
- touch .firstrun
- $makebin ADK_TOPDIR=$topdir --no-print-directory -f Makefile.adk menuconfig
+ # create a config if no exist
+ touch .firstrun
+ $makebin ADK_TOPDIR=$topdir --no-print-directory -f Makefile.adk menuconfig
else
# scan host-tool prerequisites of certain packages before building.
. $topdir/.config