Skip to contentSkip to conversation

Fix autotools instalation with symbols

PATCH RESEND Superseded Paulius Zaleckas 2 participants 3 messages Mar 7, 2010 – Mar 18, 2010

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Fix autotools instalation with symbols

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.

---

 package/Makefile.autotools.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/Makefile.autotools.in +1 -1
index 7114bba..a8dd051 100644
@@ -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
#1 lore raw

PATCH RESEND 1/1 Fix autotools instalation with symbols

Quoted 8 lines · On Sun, 07 Mar 2010 17:33:59 +0200 Paulius Zaleckas…

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.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH RESEND 1/1 Fix autotools instalation with symbols

Quoted 9 lines · Thomas Petazzoni
Quoted 6 lines · On Sun, 07 Mar 2010 17:33:59 +0200 Paulius…

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.

Quoted 4 lines
Quoted 2 lines

Peter,

Please take this patch as now for example X11 drivers are not installed for the target. There are also various other problems without this patch.

Paulius