diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-20 01:32:25 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-20 01:32:25 +0000 |
commit | 3ec5c692ecfe211b1ed217a704d00ae32d8bfed4 (patch) | |
tree | d823d063397b58fd5130dece7f39ee1c00fdab37 | |
parent | aee53f46048b8ab64beaf0791a1065e71b7ca10b (diff) | |
download | busybox-w32-3ec5c692ecfe211b1ed217a704d00ae32d8bfed4.tar.gz busybox-w32-3ec5c692ecfe211b1ed217a704d00ae32d8bfed4.tar.bz2 busybox-w32-3ec5c692ecfe211b1ed217a704d00ae32d8bfed4.zip |
Bart Visscher noticed some spurious search and replace silliness
-Erik
-rw-r--r-- | Makefile | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -32,7 +32,7 @@ TARGET_OS := linux | |||
32 | # With a modern GNU make(1) (highly recommended, that's what all the | 32 | # With a modern GNU make(1) (highly recommended, that's what all the |
33 | # developers use), all of the following configuration values can be | 33 | # developers use), all of the following configuration values can be |
34 | # overridden at the command line. For example: | 34 | # overridden at the command line. For example: |
35 | # make CROSS=powerpc-linux- CONFIG_SRC_DIR=$HOME/busybox PREFIX=/mnt/app | 35 | # make CROSS=powerpc-linux- BB_SRC_DIR=$HOME/busybox PREFIX=/mnt/app |
36 | 36 | ||
37 | # If you want to add some simple compiler switches (like -march=i686), | 37 | # If you want to add some simple compiler switches (like -march=i686), |
38 | # especially from the command line, use this instead of CFLAGS directly. | 38 | # especially from the command line, use this instead of CFLAGS directly. |
@@ -67,10 +67,10 @@ DOEFENCE = false | |||
67 | # larger than 2GB! | 67 | # larger than 2GB! |
68 | DOLFS = false | 68 | DOLFS = false |
69 | 69 | ||
70 | # If you have a "pristine" source directory, point CONFIG_SRC_DIR to it. | 70 | # If you have a "pristine" source directory, point BB_SRC_DIR to it. |
71 | # Experimental and incomplete; tell the mailing list | 71 | # Experimental and incomplete; tell the mailing list |
72 | # <busybox@busybox.net> if you do or don't like it so far. | 72 | # <busybox@busybox.net> if you do or don't like it so far. |
73 | CONFIG_SRC_DIR = | 73 | BB_SRC_DIR = |
74 | 74 | ||
75 | # If you are running a cross compiler, you may want to set CROSS | 75 | # If you are running a cross compiler, you may want to set CROSS |
76 | # to something more interesting, like "arm-linux-". | 76 | # to something more interesting, like "arm-linux-". |
@@ -163,18 +163,18 @@ endif | |||
163 | 163 | ||
164 | # Additional complications due to support for pristine source dir. | 164 | # Additional complications due to support for pristine source dir. |
165 | # Include files in the build directory should take precedence over | 165 | # Include files in the build directory should take precedence over |
166 | # the copy in CONFIG_SRC_DIR, both during the compilation phase and the | 166 | # the copy in BB_SRC_DIR, both during the compilation phase and the |
167 | # shell script that finds the list of object files. | 167 | # shell script that finds the list of object files. |
168 | # Work in progress by <ldoolitt@recycle.lbl.gov>. | 168 | # Work in progress by <ldoolitt@recycle.lbl.gov>. |
169 | # | 169 | # |
170 | ifneq ($(strip $(CONFIG_SRC_DIR)),) | 170 | ifneq ($(strip $(BB_SRC_DIR)),) |
171 | VPATH = $(CONFIG_SRC_DIR) | 171 | VPATH = $(BB_SRC_DIR) |
172 | endif | 172 | endif |
173 | 173 | ||
174 | OBJECTS = $(APPLET_SOURCES:.c=.o) busybox.o usage.o applets.o | 174 | OBJECTS = $(APPLET_SOURCES:.c=.o) busybox.o usage.o applets.o |
175 | CFLAGS += $(CROSS_CFLAGS) | 175 | CFLAGS += $(CROSS_CFLAGS) |
176 | ifdef CONFIG_INIT_SCRIPT | 176 | ifdef BB_INIT_SCRIPT |
177 | CFLAGS += -DINIT_SCRIPT='"$(CONFIG_INIT_SCRIPT)"' | 177 | CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"' |
178 | endif | 178 | endif |
179 | 179 | ||
180 | # Put user-supplied flags at the end, where they | 180 | # Put user-supplied flags at the end, where they |
@@ -213,7 +213,7 @@ $(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/config/MARKER | |||
213 | $(MAKE) CFLAGS="$(CFLAGS)" -C $(patsubst _dir_%, %, $@) | 213 | $(MAKE) CFLAGS="$(CFLAGS)" -C $(patsubst _dir_%, %, $@) |
214 | 214 | ||
215 | busybox: config.h dep-files bbsubdirs | 215 | busybox: config.h dep-files bbsubdirs |
216 | $(CC) $(LDFLAGS) -o $@ applets/busybox.o $(shell find $(SUBDIRS) -name \*.a) $(LIBCONFIG_LIB) $(LIBRARIES) | 216 | $(CC) $(LDFLAGS) -o $@ applets/busybox.o $(shell find $(SUBDIRS) -name \*.a) $(LIBRARIES) |
217 | $(STRIPCMD) $(PROG) | 217 | $(STRIPCMD) $(PROG) |
218 | 218 | ||
219 | busybox.links: applets/busybox.mkll | 219 | busybox.links: applets/busybox.mkll |
@@ -309,7 +309,7 @@ dep-files: scripts/mkdep | |||
309 | depend dep: config.h dep-files | 309 | depend dep: config.h dep-files |
310 | @ echo -e "\n\nNow run 'make' to build BusyBox\n\n" | 310 | @ echo -e "\n\nNow run 'make' to build BusyBox\n\n" |
311 | 311 | ||
312 | CONFIG_SHELL := ${shell if [ -x "$$BASH" ]; then echo $$BASH; \ | 312 | BB_SHELL := ${shell if [ -x "$$BASH" ]; then echo $$BASH; \ |
313 | else if [ -x /bin/bash ]; then echo /bin/bash; \ | 313 | else if [ -x /bin/bash ]; then echo /bin/bash; \ |
314 | else echo sh; fi ; fi} | 314 | else echo sh; fi ; fi} |
315 | 315 | ||
@@ -325,15 +325,15 @@ config.h: | |||
325 | menuconfig: | 325 | menuconfig: |
326 | mkdir -p $(TOPDIR)/include/config | 326 | mkdir -p $(TOPDIR)/include/config |
327 | $(MAKE) -C scripts/lxdialog all | 327 | $(MAKE) -C scripts/lxdialog all |
328 | $(CONFIG_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in | 328 | $(BB_SHELL) scripts/Menuconfig sysdeps/$(TARGET_OS)/config.in |
329 | 329 | ||
330 | config: | 330 | config: |
331 | mkdir -p $(TOPDIR)/include/config | 331 | mkdir -p $(TOPDIR)/include/config |
332 | $(CONFIG_SHELL) scripts/Configure sysdeps/$(TARGET_OS)/config.in | 332 | $(BB_SHELL) scripts/Configure sysdeps/$(TARGET_OS)/config.in |
333 | 333 | ||
334 | oldconfig: | 334 | oldconfig: |
335 | mkdir -p $(TOPDIR)/include/config | 335 | mkdir -p $(TOPDIR)/include/config |
336 | $(CONFIG_SHELL) scripts/Configure -d sysdeps/$(TARGET_OS)/config.in | 336 | $(BB_SHELL) scripts/Configure -d sysdeps/$(TARGET_OS)/config.in |
337 | 337 | ||
338 | 338 | ||
339 | ifdef CONFIGURATION | 339 | ifdef CONFIGURATION |
@@ -373,7 +373,7 @@ clean: | |||
373 | - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \ | 373 | - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \ |
374 | docs/busybox.pdf docs/busybox.net/busybox.html \ | 374 | docs/busybox.pdf docs/busybox.net/busybox.html \ |
375 | docs/busybox _install pod2htm* *.gdb *.elf *~ core | 375 | docs/busybox _install pod2htm* *.gdb *.elf *~ core |
376 | - rm -f busybox.links libbb/loop.h .config.old .hdepend | 376 | - rm -f busybox busybox.links libbb/loop.h .config.old .hdepend |
377 | - rm -f scripts/split-include scripts/mkdep .*config.log | 377 | - rm -f scripts/split-include scripts/mkdep .*config.log |
378 | - rm -rf include/config include/config.h | 378 | - rm -rf include/config include/config.h |
379 | - find -name .\*.flags -o -name .depend -exec rm -f {} \; | 379 | - find -name .\*.flags -o -name .depend -exec rm -f {} \; |