tools/Makefile: Remove inappropriate double-tabs

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
master
Peter Tyser 16 years ago committed by Wolfgang Denk
parent 652f4ba076
commit 21d28e95ed
  1. 153
      tools/Makefile

@ -126,164 +126,165 @@ MAKEDEPEND = makedepend
all: $(obj).depend $(BINS) $(LOGO_H) subdirs all: $(obj).depend $(BINS) $(LOGO_H) subdirs
$(obj)envcrc$(SFX): $(obj)envcrc.o $(obj)crc32.o $(obj)env_embedded.o $(obj)sha1.o $(obj)envcrc$(SFX): $(obj)envcrc.o $(obj)crc32.o $(obj)env_embedded.o $(obj)sha1.o
$(CC) $(CFLAGS) -o $@ $^ $(CC) $(CFLAGS) -o $@ $^
$(obj)ubsha1$(SFX): $(obj)ubsha1.o $(obj)sha1.o $(obj)ubsha1$(SFX): $(obj)ubsha1.o $(obj)sha1.o
$(CC) $(CFLAGS) -o $@ $^ $(CC) $(CFLAGS) -o $@ $^
$(obj)img2srec$(SFX): $(obj)img2srec.o $(obj)img2srec$(SFX): $(obj)img2srec.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)mkimage$(SFX): $(obj)mkimage.o $(obj)crc32.o $(obj)image.o $(obj)md5.o $(obj)sha1.o $(LIBFDT_OBJ_FILES) $(obj)mkimage$(SFX): $(obj)mkimage.o $(obj)crc32.o $(obj)image.o $(obj)md5.o \
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(obj)sha1.o $(LIBFDT_OBJ_FILES)
$(STRIP) $@ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@
$(obj)ncb$(SFX): $(obj)ncb.o $(obj)ncb$(SFX): $(obj)ncb.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)gen_eth_addr$(SFX): $(obj)gen_eth_addr.o $(obj)gen_eth_addr$(SFX): $(obj)gen_eth_addr.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)bmp_logo$(SFX): $(obj)bmp_logo.o $(obj)bmp_logo$(SFX): $(obj)bmp_logo.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)inca-swap-bytes$(SFX): $(obj)inca-swap-bytes.o $(obj)inca-swap-bytes$(SFX): $(obj)inca-swap-bytes.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)mpc86x_clk$(SFX): $(obj)mpc86x_clk.o $(obj)mpc86x_clk$(SFX): $(obj)mpc86x_clk.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)bin2header$(SFX): $(obj)bin2header.o $(obj)bin2header$(SFX): $(obj)bin2header.o
$(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^ $(CC) $(CFLAGS) $(HOST_LDFLAGS) -o $@ $^
$(STRIP) $@ $(STRIP) $@
$(obj)envcrc.o: $(src)envcrc.c $(obj)envcrc.o: $(src)envcrc.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)ubsha1.o: $(src)ubsha1.c $(obj)ubsha1.o: $(src)ubsha1.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)crc32.o: $(obj)crc32.c $(obj)crc32.o: $(obj)crc32.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)md5.o: $(obj)md5.c $(obj)md5.o: $(obj)md5.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)sha1.o: $(obj)sha1.c $(obj)sha1.o: $(obj)sha1.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)image.o: $(obj)image.c $(obj)image.o: $(obj)image.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
$(obj)mkimage.o: $(src)mkimage.c $(obj)mkimage.o: $(src)mkimage.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
$(obj)ncb.o: $(src)ncb.c $(obj)ncb.o: $(src)ncb.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)gen_eth_addr.o: $(src)gen_eth_addr.c $(obj)gen_eth_addr.o: $(src)gen_eth_addr.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)inca-swap-bytes.o: $(src)inca-swap-bytes.c $(obj)inca-swap-bytes.o: $(src)inca-swap-bytes.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)mpc86x_clk.o: $(src)mpc86x_clk.c $(obj)mpc86x_clk.o: $(src)mpc86x_clk.c
$(CC) -g $(CFLAGS) -c -o $@ $< $(CC) -g $(CFLAGS) -c -o $@ $<
$(obj)fdt.o: $(obj)fdt.c $(obj)fdt.o: $(obj)fdt.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
$(obj)fdt_ro.o: $(obj)fdt_ro.c $(obj)fdt_ro.o: $(obj)fdt_ro.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
$(obj)fdt_rw.o: $(obj)fdt_rw.c $(obj)fdt_rw.o: $(obj)fdt_rw.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
$(obj)fdt_strerror.o: $(obj)fdt_strerror.c $(obj)fdt_strerror.o: $(obj)fdt_strerror.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
$(obj)fdt_wip.o: $(obj)fdt_wip.c $(obj)fdt_wip.o: $(obj)fdt_wip.c
$(CC) -g $(FIT_CFLAGS) -c -o $@ $< $(CC) -g $(FIT_CFLAGS) -c -o $@ $<
subdirs: subdirs:
ifeq ($(TOOLSUBDIRS),) ifeq ($(TOOLSUBDIRS),)
@: @:
else else
@for dir in $(TOOLSUBDIRS) ; do \ @for dir in $(TOOLSUBDIRS) ; do \
$(MAKE) \ $(MAKE) \
HOSTOS=$(HOSTOS) \ HOSTOS=$(HOSTOS) \
HOSTARCH=$(HOSTARCH) \ HOSTARCH=$(HOSTARCH) \
HOST_CFLAGS="$(HOST_CFLAGS)" \ HOST_CFLAGS="$(HOST_CFLAGS)" \
HOST_LDFLAGS="$(HOST_LDFLAGS)" \ HOST_LDFLAGS="$(HOST_LDFLAGS)" \
-C $$dir || exit 1 ; \ -C $$dir || exit 1 ; \
done done
endif endif
$(obj)env_embedded.c: $(obj)env_embedded.c:
@rm -f $(obj)env_embedded.c @rm -f $(obj)env_embedded.c
ln -s $(src)../common/env_embedded.c $(obj)env_embedded.c ln -s $(src)../common/env_embedded.c $(obj)env_embedded.c
$(obj)env_embedded.o: $(obj)env_embedded.c $(obj)env_embedded.o: $(obj)env_embedded.c
$(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $< $(CC) -g $(HOST_ENVIRO_CFLAGS) $(CPPFLAGS) -c -o $@ $<
$(obj)zlib.h: $(obj)zlib.h:
@rm -f $@ @rm -f $@
ln -s $(src)../include/zlib.h $@ ln -s $(src)../include/zlib.h $@
$(obj)crc32.c: $(obj)zlib.h $(obj)crc32.c: $(obj)zlib.h
@rm -f $(obj)crc32.c @rm -f $(obj)crc32.c
ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c
$(obj)md5.c: $(obj)md5.c:
@rm -f $(obj)md5.c @rm -f $(obj)md5.c
ln -s $(src)../lib_generic/md5.c $(obj)md5.c ln -s $(src)../lib_generic/md5.c $(obj)md5.c
$(obj)sha1.c: $(obj)sha1.c:
@rm -f $(obj)sha1.c @rm -f $(obj)sha1.c
ln -s $(src)../lib_generic/sha1.c $(obj)sha1.c ln -s $(src)../lib_generic/sha1.c $(obj)sha1.c
$(obj)image.c: $(obj)image.c:
@rm -f $(obj)image.c @rm -f $(obj)image.c
ln -s $(src)../common/image.c $(obj)image.c ln -s $(src)../common/image.c $(obj)image.c
if [ ! -f $(obj)mkimage.h ] ; then \ if [ ! -f $(obj)mkimage.h ] ; then \
ln -s $(src)../tools/mkimage.h $(obj)mkimage.h; \ ln -s $(src)../tools/mkimage.h $(obj)mkimage.h; \
fi fi
if [ ! -f $(obj)fdt_host.h ] ; then \ if [ ! -f $(obj)fdt_host.h ] ; then \
ln -s $(src)../tools/fdt_host.h $(obj)fdt_host.h; \ ln -s $(src)../tools/fdt_host.h $(obj)fdt_host.h; \
fi fi
$(obj)fdt.c: $(obj)libfdt_internal.h $(obj)fdt.c: $(obj)libfdt_internal.h
@rm -f $(obj)fdt.c @rm -f $(obj)fdt.c
ln -s $(src)../libfdt/fdt.c $(obj)fdt.c ln -s $(src)../libfdt/fdt.c $(obj)fdt.c
$(obj)fdt_ro.c: $(obj)libfdt_internal.h $(obj)fdt_ro.c: $(obj)libfdt_internal.h
@rm -f $(obj)fdt_ro.c @rm -f $(obj)fdt_ro.c
ln -s $(src)../libfdt/fdt_ro.c $(obj)fdt_ro.c ln -s $(src)../libfdt/fdt_ro.c $(obj)fdt_ro.c
$(obj)fdt_rw.c: $(obj)libfdt_internal.h $(obj)fdt_rw.c: $(obj)libfdt_internal.h
@rm -f $(obj)fdt_rw.c @rm -f $(obj)fdt_rw.c
ln -s $(src)../libfdt/fdt_rw.c $(obj)fdt_rw.c ln -s $(src)../libfdt/fdt_rw.c $(obj)fdt_rw.c
$(obj)fdt_strerror.c: $(obj)libfdt_internal.h $(obj)fdt_strerror.c: $(obj)libfdt_internal.h
@rm -f $(obj)fdt_strerror.c @rm -f $(obj)fdt_strerror.c
ln -s $(src)../libfdt/fdt_strerror.c $(obj)fdt_strerror.c ln -s $(src)../libfdt/fdt_strerror.c $(obj)fdt_strerror.c
$(obj)fdt_wip.c: $(obj)libfdt_internal.h $(obj)fdt_wip.c: $(obj)libfdt_internal.h
@rm -f $(obj)fdt_wip.c @rm -f $(obj)fdt_wip.c
ln -s $(src)../libfdt/fdt_wip.c $(obj)fdt_wip.c ln -s $(src)../libfdt/fdt_wip.c $(obj)fdt_wip.c
$(obj)libfdt_internal.h: $(obj)libfdt_internal.h:
@rm -f $(obj)libfdt_internal.h @rm -f $(obj)libfdt_internal.h
ln -s $(src)../libfdt/libfdt_internal.h $(obj)libfdt_internal.h ln -s $(src)../libfdt/libfdt_internal.h $(obj)libfdt_internal.h
$(LOGO_H): $(obj)bmp_logo $(LOGO_BMP) $(LOGO_H): $(obj)bmp_logo $(LOGO_BMP)
$(obj)./bmp_logo $(LOGO_BMP) >$@ $(obj)./bmp_logo $(LOGO_BMP) >$@
######################################################################### #########################################################################

Loading…
Cancel
Save