CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed modules packagement
authorVictor Martinez <pitillo@ono.com>
Thu, 25 Oct 2012 23:26:16 +0000 (23:26 +0000)
committerVictor Martinez <pitillo@ono.com>
Thu, 25 Oct 2012 23:26:16 +0000 (23:26 +0000)
Makefile

index 6245e8c264ff2066e55db705c86bbae47443a227..23b7125cb0fe421e8e78e97744b4bda05f160785 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -63,8 +63,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