X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9546b789a5d7a0aa04b4845fce744e4e11e7f398..0f55e30c2e313d6c3152c7a1d2f82183fd5c5d68:/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; \