X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9546b789a5d7a0aa04b4845fce744e4e11e7f398..6373194f3d114f059b9f0697a63bc8337eb4b09f:/include/kernel.mk diff --git a/include/kernel.mk b/include/kernel.mk index 63df959a4..6ef4fd942 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -16,11 +16,7 @@ ifeq ($(DUMP),1) else export GCC_HONOUR_COPTS=s - ifeq ($(KERNEL),2.6) - LINUX_KMOD_SUFFIX=ko - else - LINUX_KMOD_SUFFIX=o - endif + LINUX_KMOD_SUFFIX=ko ifneq (,$(findstring uml,$(BOARD))) KERNEL_CC?=$(HOSTCC) @@ -68,6 +64,7 @@ define KernelPackage/Defaults endef define ModuleAutoLoad + $(SH_FUNC) \ export modules=; \ add_module() { \ mkdir -p $(2)/etc/modules.d; \