On Monday 14 November 2011 10:11:32 Alexey Fisher wrote:
Signed-off-by: Alexey Fisher bug-track@fisher-privat.net
Makefile | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile index 5762721..44bad88 100644 --- a/Makefile +++ b/Makefile @@ -42,3 +42,6 @@ all:
clean: $(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) clean
+install:
- @cp batman-adv.ko $(shell dirname
$(KERNELPATH))/kernel/net/batman-adv/batman-adv.ko
NAck: Sven Eckelmann sven@narfation.org
Please read in the current linux sources Documentation/kbuild/modules.txt
+install + $(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) modules_install
or to override the old version that is included in the kernel
+install + $(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) INSTALL_MOD_DIR=kernel/net/batman-adv/ modules_install
Kind regards, Sven