diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-03-13 18:54:48 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-04 01:14:32 +0200 |
commit | 273174ddbcce215c42f6c307470cd5580a3f72bf (patch) | |
tree | 6482e62d9ca1083ce441fa2e1877ab92a355a259 /tools | |
parent | fb8b33c1e6d621ea3347a75ad3a42a386b44e589 (diff) | |
download | u-boot-273174ddbcce215c42f6c307470cd5580a3f72bf.tar.gz u-boot-273174ddbcce215c42f6c307470cd5580a3f72bf.tar.bz2 u-boot-273174ddbcce215c42f6c307470cd5580a3f72bf.zip |
tools/Makefile: Use auto-generated object file dependencies
Files in the SRCS variable have their dependencies automatically
generated so remove duplicate explicit dependencies
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/Makefile b/tools/Makefile index 6ef9099663..b7a30b28eb 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -193,37 +193,37 @@ $(obj)bin2header$(SFX): $(obj)bin2header.o $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(STRIP) $@ -$(obj)envcrc.o: $(src)envcrc.c +$(obj)envcrc.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)ubsha1.o: $(src)ubsha1.c +$(obj)ubsha1.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)crc32.o: $(SRCTREE)/lib_generic/crc32.c +$(obj)crc32.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)md5.o: $(SRCTREE)/lib_generic/md5.c +$(obj)md5.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)sha1.o: $(SRCTREE)/lib_gneric/sha1.c +$(obj)sha1.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)image.o: $(SRCTREE)/common/image.c +$(obj)image.o: $(CC) -g $(FIT_CFLAGS) -c -o $@ $< -$(obj)mkimage.o: $(src)mkimage.c +$(obj)mkimage.o: $(CC) -g $(FIT_CFLAGS) -c -o $@ $< -$(obj)ncb.o: $(src)ncb.c +$(obj)ncb.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)gen_eth_addr.o: $(src)gen_eth_addr.c +$(obj)gen_eth_addr.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)inca-swap-bytes.o: $(src)inca-swap-bytes.c +$(obj)inca-swap-bytes.o: $(CC) -g $(CFLAGS) -c -o $@ $< -$(obj)mpc86x_clk.o: $(src)mpc86x_clk.c +$(obj)mpc86x_clk.o: $(CC) -g $(CFLAGS) -c -o $@ $< $(obj)fdt.o: @@ -255,7 +255,7 @@ else done endif -$(obj)env_embedded.o: $(SRCTREE)/common/env_embedded.c +$(obj)env_embedded.o: $(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $< $(LOGO_H): $(obj)bmp_logo $(LOGO_BMP) |