Add the #1680 fix for GNU make versions
[openwrt-10.03/.git] / target / linux / at91-2.6 / image / u-boot / patches / 012-make_3.81.patch
1 diff -urN u-boot-1.1.4.orig/examples/Makefile u-boot-1.1.4/examples/Makefile
2 --- u-boot-1.1.4.orig/examples/Makefile 2007-05-13 13:45:44.000000000 +0200
3 +++ u-boot-1.1.4/examples/Makefile      2007-05-13 13:48:43.000000000 +0200
4 @@ -123,10 +123,10 @@
5         $(LD) -g $(EX_LDFLAGS) -Ttext $(LOAD_ADDR) \
6                 -o $@ -e $(<:.o=) $< $(LIB) \
7                 -L$(gcclibdir) -lgcc
8 -%.srec:        %
9 +%.srec:        %.o
10         $(OBJCOPY) -O srec $< $@ 2>/dev/null
11  
12 -%.bin: %
13 +%.bin: %.o
14         $(OBJCOPY) -O binary $< $@ 2>/dev/null
15  
16  #########################################################################