From: Jose V Beneyto Date: Mon, 15 Oct 2012 17:43:57 +0000 (+0000) Subject: Added code to package kernel modules X-Git-Url: http://gitweb/?a=commitdiff_plain;h=53c7660e8de0b666a1d37d7e1a4657385c6ec673;p=kernel%2Fefikamx.git Added code to package kernel modules --- diff --git a/Makefile b/Makefile index eae1be3..9684757 100644 --- a/Makefile +++ b/Makefile @@ -54,10 +54,15 @@ $(WORK)/modules-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) rm -f $(WORK)/modules-$(KERNEL_VERSION)/lib/modules/$(KERNEL_VERSION)/{source,build} touch $(WORK)/modules-$(KERNEL_VERSION) -modules: $(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) + touch $(WORK)/modules-$(KERNEL_VERSION).tar.xz + +modules: $(WORK)/modules-$(KERNEL_VERSION).tar.xz modules-clean: - rm -vrf $(WORK)/modules-$(KERNEL_VERSION) + rm -vrf $(WORK)/modules-$(KERNEL_VERSION) $(WORK)/modules-$(KERNEL_VERSION).tar.xz modules-distclean: modules-clean