summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-23 14:52:50 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-23 14:52:50 +0000
commitea4e6a2593d6bc6244cb4d46077fceaf0169e098 (patch)
treea9552df28c93a793c7d7f598faeaa21b219cf7f0 /include
parentb1e2869a68b5a80dcf305768ae8280ed8b8548c1 (diff)
always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6350 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 1f34f00ca..4cf0e7a72 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