.PHONY : $(LIBS)
# Add GCC lib
-PLATFORM_LIBS += --no-warn-mismatch -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
+PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
# The "tools" are needed early, so put this first
all: $(ALL)
+u-boot.hex: u-boot
+ $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
+
u-boot.srec: u-boot
$(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
$(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
- --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
+ --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \
-Map u-boot.map -o u-boot
$(LIBS):
@echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h
@./mkconfig -a TQM823L ppc mpc8xx tqm8xx
+uc100_config : unconfig
+ @./mkconfig $(@:_config=) ppc mpc8xx uc100
+
v37_config: unconfig
@echo "#define CONFIG_LCD" >include/config.h
@echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h
}
@./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
+sbc405_config: unconfig
+ @./mkconfig $(@:_config=) ppc ppc4xx sbc405
+
VOH405_config: unconfig
@./mkconfig $(@:_config=) ppc ppc4xx voh405 esd
utx8245_config: unconfig
@./mkconfig $(@:_config=) ppc mpc824x utx8245
+cobra5272_config : unconfig
+ @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272
+
#########################################################################
## MPC8260 Systems
#########################################################################
xsengine_config : unconfig
@./mkconfig $(@:_config=) arm pxa xsengine
+#########################################################################
+## ARM1136 Systems
+#########################################################################
+omap2420h4_config : unconfig
+ @./mkconfig $(@:_config=) arm arm1136 omap2420h4
+
#========================================================================
# i386
#========================================================================
@echo "#define CONFIG_DBAU1500 1" >>include/config.h
@./mkconfig -a dbau1x00 mips mips dbau1x00
+dbau1550_config : unconfig
+ @ >include/config.h
+ @echo "#define CONFIG_DBAU1550 1" >>include/config.h
+ @./mkconfig -a dbau1x00 mips mips dbau1x00
+
+dbau1550_el_config : unconfig
+ @ >include/config.h
+ @echo "#define CONFIG_DBAU1550 1" >>include/config.h
+ @./mkconfig -a dbau1x00 mips mips dbau1x00 "" little
+
#########################################################################
## MIPS64 5Kc
#########################################################################
| xargs -0 rm -f
rm -f $(OBJS) *.bak tags TAGS
rm -fr *.*~
- rm -f u-boot u-boot.map $(ALL)
+ rm -f u-boot u-boot.map u-boot.hex $(ALL)
rm -f tools/crc32.c tools/environment.c tools/env/crc32.c
rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c
rm -f include/asm/proc include/asm/arch include/asm