CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fixed issue with image-clean tag
authorJose V Beneyto <sepen@crux.nu>
Wed, 30 Dec 2009 07:45:53 +0000 (08:45 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 30 Dec 2009 07:45:53 +0000 (08:45 +0100)
Makefile

index de5936a19d8be63b7fee528a5c63c9278cd6430b..a0eecc775f729f08db5adb616452c632e688174b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ all: image modules map
 clean: image-clean modules-clean map-clean
 
 distclean: clean image-distclean modules-distclean map-distclean
+       rm -vrf $(WORK)/linux-$(KERNEL_VERSION)
 
 $(WORK)/linux-$(KERNEL_VERSION): config-$(KERNEL_VERSION)
        git clone $(GIT_REPOSITORY) $(WORK)/linux-$(KERNEL_VERSION)
@@ -40,7 +41,7 @@ $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)
 image: $(WORK)/zImage-$(KERNEL_VERSION)
 
 image-clean:
-       rm -vrf $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/zImage-$(KERNEL_VERSION)
+       rm -vf $(WORK)/zImage-$(KERNEL_VERSION)
 
 image-distclean: image-clean