$(WORK)/u-boot-$(UBOOT_VERSION): $(WORK)/u-boot-$(UBOOT_VERSION).tar.bz2
tar -C $(WORK) -xjf $(WORK)/u-boot-$(UBOOT_VERSION).tar.bz2
cd $(WORK)/u-boot-$(UBOOT_VERSION) && \
- patch -p1 -i $(WORK)/u-boot-2011.09.tools1.patch && \
- patch -p1 -i $(WORK)/u-boot-2011.09.tools2.patch && \
- patch -p1 -i $(WORK)/u-boot-2011.09.tools3.patch
+ patch -p1 -i $(WORK)/u-boot-$(UBOOT_VERSION).tools1.patch && \
+ patch -p1 -i $(WORK)/u-boot-$(UBOOT_VERSION).tools2.patch && \
+ patch -p1 -i $(WORK)/u-boot-$(UBOOT_VERSION).tools3.patch
touch $(WORK)/u-boot-$(UBOOT_VERSION)
$(WORK)/mkimage: $(WORK)/u-boot-$(UBOOT_VERSION)
- cd /crux-arm/uboot/work/u-boot-2011.09 && \
+ cd $(WORK)/u-boot-$(UBOOT_VERSION) && \
make tools && \
install -m 0755 $(WORK)/u-boot-$(UBOOT_VERSION)/tools/mkimage $(WORK)/mkimage