fix 2.6 modules pattern using a common LINUX_KMOD_SUFFIX variable,
[openwrt.git] / openwrt / target / linux / package / openswan / Makefile
index 0e44690..3ea5cf7 100644 (file)
@@ -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)
This page took 0.024719 seconds and 4 git commands to generate.