summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2009-05-06 10:25:14 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2009-05-06 10:25:14 -0400
commit887f0eb1e5593e4b191a38d413c4798776e7d7e2 (patch)
tree76e77f253a6a34f7da5f6c5d9d95c1b9224f5bb2
parent5fb940a213a7ae09f587ca9b177f8bd3f7e87039 (diff)
-rw-r--r--tools/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c9afdba8a29..d3dcc7d86e0 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -21,9 +21,9 @@
# MA 02111-1307 USA
#
-BINS =
+BINS = img2srec$(SFX) mkimage$(SFX) envcrc$(SFX) gen_eth_addr$(SFX) bmp_logo$(SFX)
-OBJS = environment.o img2srec.o crc32.o envcrc.o gen_eth_addr.o bmp_logo.o
+OBJS = environment.o img2srec.o mkimage.o crc32.o envcrc.o gen_eth_addr.o bmp_logo.o
ifeq ($(ARCH),mips)
BINS += inca-swap-bytes$(SFX)
@@ -56,7 +56,7 @@ HOSTARCH := $(shell uname -m | \
HOSTOS := $(shell uname -s | tr A-Z a-z | \
sed -e 's/\(cygwin\).*/cygwin/')
-TOOLSUBDIRS =
+TOOLSUBDIRS =
#
# Mac OS X / Darwin's C preprocessor is Apple specific. It
@@ -110,13 +110,13 @@ include $(TOPDIR)/config.mk
# Use native tools and options
#
CPPFLAGS = -idirafter ../include -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
-# CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
-# AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
-# CC = $(HOSTCC)
-# STRIP = $(HOSTSTRIP)
+CFLAGS = $(HOST_CFLAGS) $(CPPFLAGS) -O
+AFLAGS = -D__ASSEMBLY__ $(CPPFLAGS)
+CC = $(HOSTCC)
+STRIP = $(HOSTSTRIP)
MAKEDEPEND = makedepend
-all: subdirs
+all: .depend $(BINS) $(LOGO_H) subdirs
envcrc$(SFX): envcrc.o crc32.o environment.o
$(CC) $(CFLAGS) -o $@ $^