From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 12 Dec 2010 11:58:07 -0500 Subject: [Buildroot] [PATCH 2/2 v2] busybox: let buildroot handle stripping In-Reply-To: <1292173087-8806-1-git-send-email-vapier@gentoo.org> References: <1292173087-8806-1-git-send-email-vapier@gentoo.org> Message-ID: <1292173087-8806-2-git-send-email-vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net For some ABI's (like FLAT), we cannot strip busybox as the file format does not support it and strip will abort with errors like 'File format not recognized'. Since the toplevel already takes care of stripping things, simply disable the busybox step. Acked-by: Thomas Petazzoni Signed-off-by: Mike Frysinger --- v2 - rebase on top of new unification code package/busybox/busybox.mk | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 67664f6..ca5b495 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -21,7 +21,8 @@ BUSYBOX_MAKE_OPTS = \ PREFIX="$(TARGET_DIR)" \ EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ - CONFIG_PREFIX="$(TARGET_DIR)" + CONFIG_PREFIX="$(TARGET_DIR)" \ + SKIP_STRIP=y ifndef BUSYBOX_CONFIG_FILE BUSYBOX_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG)) -- 1.7.3.3