Disable package strip when build bin?

i can do it by make package/foo/{clean,compile} V=99 STRIP=/bin/true
but i want build it into bin

so i change makefile to

STRIP:=true
include $(TOPDIR)/rules.mk

# Name, version and release number
# The name and version of your package are used to define the variable to point to the build directory of your package: $(PKG_BUILD_DIR)
PKG_NAME:=gateway
PKG_VERSION:=1.0
PKG_RELEASE:=1

# Source settings (i.e. where to find the source codes)
# This is a custom variable, used below
SOURCE_DIR:=../../../../gateway_app

why it does not work?

http://chenjingsi.com/programming/openwrt/openwrt-00008.html

put RSTRIP:=: after package.mk

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.