From: Felix Fietkau Date: Fri, 23 Feb 2007 14:52:50 +0000 (+0000) Subject: always dereference symbolic links when copying kernel modules into the packaging... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d398dc030991a13184fda482e38e201e308effa3;p=openwrt%2Fstaging%2Fjow.git always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392) SVN-Revision: 6350 --- diff --git a/include/kernel.mk b/include/kernel.mk index 1f34f00ca4..4cf0e7a72d 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -99,7 +99,7 @@ define KernelPackage ifneq ($(strip $(FILES)),) define Package/kmod-$(1)/install mkdir -p $$(1)/lib/modules/$(LINUX_VERSION) - $(CP) $$(FILES) $$(1)/lib/modules/$(LINUX_VERSION)/ + $(CP) -L $$(FILES) $$(1)/lib/modules/$(LINUX_VERSION)/ $(call ModuleAutoLoad,$(1),$$(1),$(AUTOLOAD)) $(call KernelPackage/$(1)/install,$$(1)) endef