diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-13 22:53:28 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-13 22:53:28 +0000 |
| commit | 247876124fcd170b984ec4e99e428aa34befd79d (patch) | |
| tree | edc607d86023620d52e6dec7884aa3bb6c8d41fe /Makefile | |
| parent | e7fd4ad6062d7b171acee1f80e73505ed472a1b3 (diff) | |
| download | busybox-w32-247876124fcd170b984ec4e99e428aa34befd79d.tar.gz busybox-w32-247876124fcd170b984ec4e99e428aa34befd79d.tar.bz2 busybox-w32-247876124fcd170b984ec4e99e428aa34befd79d.zip | |
Don't build the ncurses stuff unless it is specifically asked for
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@6212 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
| @@ -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 | ||
| 34 | ifdef include_config | 34 | ifeq ($(strip $(HAVE_DOT_CONFIG)),y) |
| 35 | 35 | ||
| 36 | all: busybox busybox.links #doc | 36 | all: busybox busybox.links #doc |
| 37 | 37 | ||
| @@ -142,7 +142,7 @@ include/config/MARKER: depend scripts/split-include | |||
| 142 | 142 | ||
| 143 | include/config.h: .config | 143 | include/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 | ||
| 157 | else # ifdef include_config | 157 | else # ifeq ($(strip $(HAVE_DOT_CONFIG)),y) |
| 158 | 158 | ||
| 159 | all: menuconfig | 159 | all: menuconfig |
| 160 | 160 | ||
| 161 | ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) | ||
| 162 | # Targets which don't need .config | ||
| 163 | |||
| 164 | # configuration | 161 | # configuration |
| 165 | # --------------------------------------------------------------------------- | 162 | # --------------------------------------------------------------------------- |
| 166 | 163 | ||
| 167 | scripts/config/conf scripts/config/mconf: | 164 | scripts/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 | ||
| 169 | scripts/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 | ||
| 242 | endif # ifeq ($(filter-out $(noconfig_targets),$(MAKECMDGOALS)),) | 244 | endif # ifeq ($(strip $(HAVE_DOT_CONFIG)),y) |
| 243 | endif # 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 |
