From: Paulius Zaleckas Date: Tue, 30 Mar 2010 15:20:55 +0000 (+0200) Subject: Fix autotools instalation with symbols X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31365deda785255b00a32f969a059e48b5832ea2;p=buildroot.git Fix autotools instalation with symbols Closes #1447 When installing without symbols install-strip is used, with symbols - install-exec. Since install-exec installs only executables, we should use simple install, to install other needed files also (like files in /usr/shared) as install-strip does. Signed-off-by: Paulius Zaleckas Acked-by: Lionel Landwerlin Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/CHANGES b/CHANGES index 8845b16934..0a3a87adf6 100644 --- a/CHANGES +++ b/CHANGES @@ -27,6 +27,7 @@ #1303: Add librsync package #1345: Bump pppd to 2.4.5 and convert to Makefile.autotools.in #1441: Add binutils 2.20.1 + #1447: Package installation on target with debug symbols is broken 2010.02, Release February 26th, 2010: diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 7114bbab39..a8dd0511ff 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -60,7 +60,7 @@ $(2)_LIBTOOL_PATCH ?= YES $(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO) $(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install ifeq ($(BR2_ENABLE_DEBUG),y) -$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-exec +$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install else $(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-strip endif