mirror of https://github.com/hak5/openwrt-owl.git
always dereference symbolic links when copying kernel modules into the packaging directory (fixes alsa build, patch from #1392)
SVN-Revision: 6350owl
parent
a780bac5cc
commit
d398dc0309
|
@ -99,7 +99,7 @@ define KernelPackage
|
||||||
ifneq ($(strip $(FILES)),)
|
ifneq ($(strip $(FILES)),)
|
||||||
define Package/kmod-$(1)/install
|
define Package/kmod-$(1)/install
|
||||||
mkdir -p $$(1)/lib/modules/$(LINUX_VERSION)
|
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 ModuleAutoLoad,$(1),$$(1),$(AUTOLOAD))
|
||||||
$(call KernelPackage/$(1)/install,$$(1))
|
$(call KernelPackage/$(1)/install,$$(1))
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue