[target/orion]: add missing symbol for 2.6.38
[openwrt.git] / package / uboot-ifxmips / patches / 001-portability.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -275,10 +275,10 @@ $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot
4 cat nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
5
6 version:
7 - @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
8 - echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
9 - echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
10 - $(TOPDIR)) >> $(VERSION_FILE); \
11 + @printf "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \
12 + printf "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \
13 + printf "$(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
14 + $(TOPDIR))" >> $(VERSION_FILE); \
15 echo "\"" >> $(VERSION_FILE)
16
17 gdbtools:
18 @@ -1593,10 +1593,10 @@ MPC8540EVAL_66_slave_config: unconf
19 @mkdir -p $(obj)include
20 @echo "" >$(obj)include/config.h ; \
21 if [ "$(findstring _33_,$@)" ] ; then \
22 - echo -n "... 33 MHz PCI" ; \
23 + printf "... 33 MHz PCI" ; \
24 else \
25 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
26 - echo -n "... 66 MHz PCI" ; \
27 + printf "... 66 MHz PCI" ; \
28 fi ; \
29 if [ "$(findstring _slave_,$@)" ] ; then \
30 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
This page took 0.043731 seconds and 5 git commands to generate.