CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed modules packagement
authorVictor Martinez <pitillo@ono.com>
Wed, 24 Oct 2012 19:49:41 +0000 (19:49 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 24 Oct 2012 19:49:41 +0000 (19:49 +0000)
Makefile

index 0edb4c8c7e690d753fc2d38654b12c1102124755..451630bf6d81f44a43f4bec19ad5f45169513b9f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,8 +56,8 @@ $(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)
        touch $(WORK)/modules-$(KERNEL_VERSION)
 
 $(WORK)/modules-$(KERNEL_VERSION).tar.xz: $(WORK)/modules-$(KERNEL_VERSION)
-       cd $(WORK) && \
-               tar cvJf modules-$(KERNEL_VERSION).tar.xz modules-$(KERNEL_VERSION)
+       cd $(WORK)/modules-$(KERNEL_VERSION) && \
+               tar cvJf $(WORK)/modules-$(KERNEL_VERSION).tar.xz *
        touch $(WORK)/modules-$(KERNEL_VERSION).tar.xz
 
 modules: $(WORK)/modules-$(KERNEL_VERSION).tar.xz