CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Cleanup Makefile
authorJose V Beneyto <sepen@crux.nu>
Fri, 18 Oct 2013 00:39:51 +0000 (00:39 +0000)
committerJose V Beneyto <sepen@crux.nu>
Fri, 18 Oct 2013 00:39:51 +0000 (00:39 +0000)
Makefile

index 14d439c174b2428f8d7d359cc72977c8f2888c66..41a7ee5acd8a68d8a72e7a0bab3f613c614a11ae 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 # 
-# initrd.git/Makefile
+# initrd/Makefile
 #
 
 TOPDIR = $(shell pwd)
@@ -38,7 +38,7 @@ check-root:
 $(WORK)/busybox-$(BUSYBOX_VERSION).tar.bz2:
        wget -P $(WORK) -c $(BUSYBOX_SOURCE)
 
-$(WORK)/busybox-$(BUSYBOX_VERSION): $(WORK)/busybox-$(BUSYBOX_VERSION).tar.bz2 $(TOPDIR)/busybox-$(BUSYBOX_VERSION).config
+$(WORK)/busybox-$(BUSYBOX_VERSION): $(WORK)/busybox-$(BUSYBOX_VERSION).tar.bz2 $(TOPDIR)/busybox-$(BUSYBOX_VERSION).config $(WORK)/fix-resource_header.patch
        tar -C $(WORK) -xvjf $(WORK)/busybox-$(BUSYBOX_VERSION).tar.bz2
        cd $(WORK)/busybox-$(BUSYBOX_VERSION) && \
                patch -p1 -i $(WORK)/fix-resource_header.patch
@@ -114,7 +114,7 @@ $(WORK)/initrd.gz: check-root busybox dialog $(WORK)/mnt $(TOPDIR)/filesystem $(
 initrd: $(WORK)/initrd.gz
 
 initrd-clean: check-root
-       rm -vf $(WORK)/initrd.gz
+       rm -vf $(WORK)/initrd.gz $(WORK)/mnt
 
 initrd-distclean: initrd-clean