summaryrefslogtreecommitdiffstats
path: root/target/linux/package/openswan
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/openswan')
-rw-r--r--target/linux/package/openswan/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/package/openswan/Makefile b/target/linux/package/openswan/Makefile
index 0e446902e..3ea5cf7c4 100644
--- a/target/linux/package/openswan/Makefile
+++ b/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)