fix compile problem brcm-2.6
[openwrt.git] / openwrt / package / mtr / Makefile
index ade9df7..f088562 100644 (file)
@@ -17,7 +17,7 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,MTR,mtr,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
        (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status}; \
                touch configure.in; \
                touch aclocal.m4; \
@@ -68,7 +68,7 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_MTR):
        install -d -m0755 $(IDIR_MTR)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/mtr $(IDIR_MTR)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/mtr $(IDIR_MTR)/usr/sbin/
        $(RSTRIP) $(IDIR_MTR)
        $(IPKG_BUILD) $(IDIR_MTR) $(PACKAGE_DIR)
 
This page took 0.025652 seconds and 4 git commands to generate.