Add a modules_install target to the makefile. I need this for packaging. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) Index: btrfs-0.8/Makefile ==================================================================--- btrfs-0.8.orig/Makefile +++ btrfs-0.8/Makefile @@ -20,4 +20,8 @@ all:: $(MAKE) -C $(KERNELDIR) M=`pwd` modules clean:: $(MAKE) -C $(KERNELDIR) M=`pwd` clean + +modules_install: + $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install + endif
Single-colons will do here. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: btrfs-0.8/Makefile ==================================================================--- btrfs-0.8.orig/Makefile +++ btrfs-0.8/Makefile @@ -16,9 +16,10 @@ else # Normal Makefile KERNELDIR := /lib/modules/`uname -r`/build -all:: +all: $(MAKE) -C $(KERNELDIR) M=`pwd` modules -clean:: + +clean: $(MAKE) -C $(KERNELDIR) M=`pwd` clean modules_install: