make rootfs split/detection more generic - patch can be moved to generic-2.6 after...
[openwrt.git] / rules.mk
index 0a958c2..a6188f4 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -70,6 +70,7 @@ ifneq ($(CONFIG_CCACHE),)
 endif
 
 EXTRA_CPPFLAGS := -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
+EXTRA_CFLAGS := $(EXTRA_CPPFLAGS)
 EXTRA_LDFLAGS := -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib
 
 TARGET_CONFIGURE_OPTS:= \
@@ -86,6 +87,7 @@ TARGET_CONFIGURE_OPTS:= \
 
 # strip an entire directory
 RSTRIP:= \
+  NM="$(TARGET_CROSS)nm" \
   STRIP="$(STRIP)" \
   STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
   $(SCRIPT_DIR)/rstrip.sh
This page took 0.022429 seconds and 4 git commands to generate.