-RSTRIP:= \
- NM="$(TARGET_CROSS)nm" \
- STRIP="$(STRIP)" \
- STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
- $(SCRIPT_DIR)/rstrip.sh
-
-# where to build (and put) .ipk packages
-IPKG:= \
- PATH="$(STAGING_DIR)/bin:$(PATH)" \
- IPKG_TMP=$(BUILD_DIR)/tmp \
- IPKG_INSTROOT=$(TARGET_DIR) \
- IPKG_CONF_DIR=$(STAGING_DIR)/etc \
- IPKG_OFFLINE_ROOT=$(BUILD_DIR)/root \
- $(SCRIPT_DIR)/ipkg -force-defaults -force-depends
-
-# invoke ipkg-build with some default options
-IPKG_BUILD:= \
- ipkg-build -c -o 0 -g 0
+ifneq ($(CONFIG_BUILD_DEVELOPER_SYSTEM),)
+ RSTRIP:=:
+else
+ RSTRIP:= \
+ NM="$(TARGET_CROSS)nm" \
+ STRIP="$(STRIP)" \
+ STRIP_KMOD="$(TARGET_CROSS)strip --strip-unneeded --remove-section=.comment" \
+ $(SCRIPT_DIR)/rstrip.sh
+endif