summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/openswan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/package/openswan/Makefile')
-rw-r--r--openwrt/target/linux/package/openswan/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/openswan/Makefile b/openwrt/target/linux/package/openswan/Makefile
index 0e446902e..3ea5cf7c4 100644
--- a/openwrt/target/linux/package/openswan/Makefile
+++ b/openwrt/target/linux/package/openswan/Makefile
@@ -33,5 +33,5 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_KMOD_OPENSWAN):
mkdir -p $(IDIR_KMOD_OPENSWAN)/lib/modules/$(LINUX_VERSION)
- cp $(PKG_BUILD_DIR)/modobj/ipsec.*o $(IDIR_KMOD_OPENSWAN)/lib/modules/$(LINUX_VERSION)/
+ cp -fpR $(PKG_BUILD_DIR)/modobj*/ipsec.$(LINUX_KMOD_SUFFIX) $(IDIR_KMOD_OPENSWAN)/lib/modules/$(LINUX_VERSION)/
$(IPKG_BUILD) $(IDIR_KMOD_OPENSWAN) $(PACKAGE_DIR)