diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-04-18 12:28:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-04-18 12:28:38 +0000 |
commit | c6eb15e481a066451adbad5137e017bb3f6c64de (patch) | |
tree | e654d64992582dda9d38ce98a7f230c0e3424561 /include/kernel.mk | |
parent | b97528d98e074f062c63cbcf09065e81ed133cce (diff) | |
download | upstream-c6eb15e481a066451adbad5137e017bb3f6c64de.tar.gz upstream-c6eb15e481a066451adbad5137e017bb3f6c64de.tar.bz2 upstream-c6eb15e481a066451adbad5137e017bb3f6c64de.zip |
Improved autorebuild for kernel related stuff.
- make modules_install in the kernel tree is no longer called
- make modules is called on every target/compile run
- kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6998 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel.mk')
-rw-r--r-- | include/kernel.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index 9792d04d0d..119de8687e 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -32,7 +32,6 @@ else LINUX_DIR := $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) MODULES_SUBDIR:=lib/modules/$(LINUX_VERSION) - MODULES_DIR := $(KERNEL_BUILD_DIR)/modules/$(MODULES_SUBDIR) TARGET_MODULES_DIR := $(LINUX_TARGET_DIR)/$(MODULES_SUBDIR) LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux @@ -108,6 +107,8 @@ define KernelPackage endif endif $$(eval $$(call BuildPackage,kmod-$(1))) + + $$(IPKG_kmod-$(1)): $$(FILES) endef define AutoLoad |