upgrade to iproute2-2.6.15-060110
[openwrt.git] / openwrt / package / vpnc / Makefile
index 7513290..eb21240 100644 (file)
@@ -25,6 +25,8 @@ $(PKG_BUILD_DIR)/.configured:
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC=$(TARGET_CC) \
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC=$(TARGET_CC) \
+               OFLAGS="$(TARGET_CFLAGS)" \
+               OS="Linux" \
                STAGING_DIR=$(STAGING_DIR) \
                DESTDIR=$(PKG_INSTALL_DIR) \
                PREFIX=/usr \
                STAGING_DIR=$(STAGING_DIR) \
                DESTDIR=$(PKG_INSTALL_DIR) \
                PREFIX=/usr \
@@ -33,6 +35,6 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_VPNC):
        install -d -m0755 $(IDIR_VPNC)
 
 $(IPKG_VPNC):
        install -d -m0755 $(IDIR_VPNC)
-       cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/
+       $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/
        $(RSTRIP) $(IDIR_VPNC)
        $(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)
        $(RSTRIP) $(IDIR_VPNC)
        $(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)
This page took 0.025249 seconds and 4 git commands to generate.