CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Makefile cleanup
authorJose V Beneyto <sepen@crux.nu>
Wed, 26 Oct 2011 23:18:21 +0000 (01:18 +0200)
committerJose V Beneyto <sepen@crux.nu>
Wed, 26 Oct 2011 23:18:21 +0000 (01:18 +0200)
Makefile

index 75c78fb6f628a3ac9e36d084e64ab4d1f776ac71..cd14348ff92f31945e93e0bc20ba5f4ed61d4422 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,13 +22,13 @@ $(WORK)/u-boot-$(UBOOT_VERSION).tar.bz2:
 $(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