don't mess with the staging dir too much when building the sdk
[openwrt/openwrt.git] / rules.mk
index ac2ea78..3afdab6 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -61,6 +61,7 @@ CP:=cp -fpR
 INSTALL_BIN:=install -m0755
 INSTALL_DIR:=install -d -m0755
 INSTALL_DATA:=install -m0644
+INSTALL_CONF:=install -m0600
 
 ifneq ($(CONFIG_CCACHE),)
   # FIXME: move this variable to a better location
@@ -77,7 +78,8 @@ TARGET_CONFIGURE_OPTS:= \
   GCC="$(TARGET_CC)" \
   CXX=$(TARGET_CROSS)g++ \
   RANLIB=$(TARGET_CROSS)ranlib \
-  STRIP=$(TARGET_CROSS)strip
+  STRIP=$(TARGET_CROSS)strip \
+  OBJCOPY=$(TARGET_CROSS)objcopy
 
 # strip an entire directory
 RSTRIP:= \