summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2005-10-13 10:40:18 +0000
committerBernhard Reutner-Fischer2005-10-13 10:40:18 +0000
commit8c7a7e6e63c01d2d575bbaa43e1768ad2b97179b (patch)
tree08c307c55926456b2001311f7fbf7c04959a5cec /Makefile
parentbb66a6c94ed7cf195a50478fa8415cbed54b3566 (diff)
downloadbusybox-8c7a7e6e63c01d2d575bbaa43e1768ad2b97179b.zip
busybox-8c7a7e6e63c01d2d575bbaa43e1768ad2b97179b.tar.gz
- split VERSION into parts
- add some filesystem operation wrapper variables for use in the makefiles and pull them in early in the toplevel makefile - use the cross-toolchain for "make sizes"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 63a2c13..9c3ed40 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,11 @@ else
KBUILD_OUTPUT := $(top_builddir)
endif
+ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
+# pull in OS specific commands like cp, mkdir, etc. early
+-include $(top_srcdir)/Rules.mak
+endif
+
# All object directories.
OBJ_DIRS := $(DIRS)
all_tree := $(patsubst %,$(top_builddir)/%,$(OBJ_DIRS) scripts scripts/config include)
@@ -252,7 +257,7 @@ sizes:
-rm -f busybox
$(MAKE) top_srcdir=$(top_srcdir) top_builddir=$(top_builddir) \
-f $(top_srcdir)/Makefile STRIPCMD=/bin/true
- nm --size-sort busybox
+ $(NM) --size-sort busybox
# Documentation Targets
doc: docs/busybox.pod docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html