summaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-10-08 22:14:02 +0000
committerwdenk <wdenk>2003-10-08 22:14:02 +0000
commitef1464cc01cf9dcab52396283bf597e609caa450 (patch)
tree8425585ca09e0fb257c0648c02a7bc7848616807 /tools/Makefile
parentd9a405aaf62cc8204f7300eb94713b39df793f04 (diff)
* Patch by Anders Larsen, 18 Sep 2003:
allow mkimage to build and run on Cygwin-hosted systems * Patch by Frank Müller, 18 Sep 2003: use bi_intfreq instead of bi_busfreq to compute fec_mii_speed in cpu/mpc8xx/fec.c * Patch by Pantelis Antoniou, 16 Sep 2003: add tool to compute fileds in the PLPRCR register for MPC86x
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 654467d938..c1313a2b44 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -30,6 +30,12 @@ BINS += inca-swap-bytes$(SFX)
OBJS += inca-swap-bytes.o
endif
+# Don't build by default
+#ifeq ($(ARCH),ppc)
+#BINS += mpc86x_clk$(SFX)
+#OBJS += mpc86x_clk.o
+#endif
+
LOGO_H = $(TOPDIR)/include/bmp_logo.h
ifeq ($(LOGO_BMP),)
@@ -136,6 +142,10 @@ inca-swap-bytes$(SFX): inca-swap-bytes.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@
+mpc86x_clk$(SFX): mpc86x_clk.o
+ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
+ $(STRIP) $@
+
envcrc.o: envcrc.c
$(CC) -g $(CFLAGS) -c $<
@@ -151,6 +161,9 @@ gen_eth_addr.o: gen_eth_addr.c
inca-swap-bytes.o: inca-swap-bytes.c
$(CC) -g $(CFLAGS) -c $<
+mpc86x_clk.o: mpc86x_clk.c
+ $(CC) -g $(CFLAGS) -c $<
+
subdirs:
ifeq ($(TOOLSUBDIRS),)
@: