8 UBOOT_VERSION
= 2011.09
10 .PHONY
: all mkimage
clean dist-clean
16 dist-clean
: mkimage-distclean
19 $(WORK
)/u-boot-
$(UBOOT_VERSION
).
tar.bz2
:
20 wget
-P
$(WORK
) ftp
://ftp.denx.de
/pub
/u-boot
/u-boot-
$(UBOOT_VERSION
).
tar.bz2
22 $(WORK
)/u-boot-
$(UBOOT_VERSION
): $(WORK
)/u-boot-
$(UBOOT_VERSION
).
tar.bz2
23 tar -C
$(WORK
) -xjf
$(WORK
)/u-boot-
$(UBOOT_VERSION
).
tar.bz2
24 cd
$(WORK
)/u-boot-
$(UBOOT_VERSION
) && \
25 patch
-p1
-i
$(WORK
)/u-boot-2011.09.tools1.patch
&& \
26 patch
-p1
-i
$(WORK
)/u-boot-2011.09.tools2.patch
&& \
27 patch
-p1
-i
$(WORK
)/u-boot-2011.09.tools3.patch
28 touch
$(WORK
)/u-boot-
$(UBOOT_VERSION
)
30 $(WORK
)/mkimage
: $(WORK
)/u-boot-
$(UBOOT_VERSION
)
31 cd
/crux-arm
/uboot
/work
/u-boot-2011.09
&& \
33 install -m
0755 $(WORK
)/u-boot-
$(UBOOT_VERSION
)/tools
/mkimage
$(WORK
)/mkimage
35 mkimage
: $(WORK
)/mkimage
38 rm -f
$(WORK
)/mkimage mkimage
40 mkimage-distclean
: mkimage-clean