summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-13 22:53:28 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-13 22:53:28 +0000
commit068b6b07ff5dc2dbb513f444cb094197f28e64c5 (patch)
treeedc607d86023620d52e6dec7884aa3bb6c8d41fe /Makefile
parentc118f99f7379491138babcf929fe5fe30ea5c972 (diff)
downloadbusybox-w32-068b6b07ff5dc2dbb513f444cb094197f28e64c5.tar.gz
busybox-w32-068b6b07ff5dc2dbb513f444cb094197f28e64c5.tar.bz2
busybox-w32-068b6b07ff5dc2dbb513f444cb094197f28e64c5.zip
Don't build the ncurses stuff unless it is specifically asked for
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 9a87ad4bd..58e397cfd 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ DIRS:=applets archival archival/libunarchive console-tools debianutils \
31 networking/libiproute networking/udhcp procps loginutils shell \ 31 networking/libiproute networking/udhcp procps loginutils shell \
32 shellutils sysklogd textutils util-linux libbb libpwdgrp 32 shellutils sysklogd textutils util-linux libbb libpwdgrp
33 33
34ifdef include_config 34ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
35 35
36all: busybox busybox.links #doc 36all: busybox busybox.links #doc
37 37
@@ -142,7 +142,7 @@ include/config/MARKER: depend scripts/split-include
142 142
143include/config.h: .config 143include/config.h: .config
144 @if [ ! -x ./scripts/config/conf ] ; then \ 144 @if [ ! -x ./scripts/config/conf ] ; then \
145 make -C scripts/config; \ 145 make -C scripts/config conf; \
146 fi; 146 fi;
147 @./scripts/config/conf -o sysdeps/$(TARGET_OS)/Config.in 147 @./scripts/config/conf -o sysdeps/$(TARGET_OS)/Config.in
148 148
@@ -154,18 +154,20 @@ finished2:
154 @echo Finished installing... 154 @echo Finished installing...
155 @echo 155 @echo
156 156
157else # ifdef include_config 157else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
158 158
159all: menuconfig 159all: menuconfig
160 160
161ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),)
162# Targets which don't need .config
163
164# configuration 161# configuration
165# --------------------------------------------------------------------------- 162# ---------------------------------------------------------------------------
166 163
167scripts/config/conf scripts/config/mconf: 164scripts/config/conf:
168 make -C scripts/config 165 make -C scripts/config conf
166 -@if [ ! -f .config ] ; then \
167 cp sysdeps/$(TARGET_OS)/defconfig .config; \
168 fi
169scripts/config/mconf:
170 make -C scripts/config ncurses conf mconf
169 -@if [ ! -f .config ] ; then \ 171 -@if [ ! -f .config ] ; then \
170 cp sysdeps/$(TARGET_OS)/defconfig .config; \ 172 cp sysdeps/$(TARGET_OS)/defconfig .config; \
171 fi 173 fi
@@ -239,8 +241,7 @@ tags:
239 ctags -R . 241 ctags -R .
240 242
241 243
242endif # ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) 244endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
243endif # ifdef include_config
244 245
245.PHONY: dummy subdirs release distclean clean config oldconfig \ 246.PHONY: dummy subdirs release distclean clean config oldconfig \
246 menuconfig tags check test tests depend 247 menuconfig tags check test tests depend