summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-07 22:37:06 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-27 13:24:39 (GMT)
commit55ade5c7964e15f9b1eba061ab840cc4c25e4e37 (patch)
tree1c0963535a16ee58dfbc4579c4374eafa531df79
parentfa0d2d142ce827736881ba52ba1bfa0c6bce9122 (diff)
downloadbuildroot-55ade5c7964e15f9b1eba061ab840cc4c25e4e37.tar.gz
buildroot-55ade5c7964e15f9b1eba061ab840cc4c25e4e37.tar.bz2
autotargets: don't use install-strip
Many packages using the AUTOTARGETS infrastructure do not support the install-strip target. Moreover, we are already stripping all binary files in the $(TARGET_DIR) anyway, so using install-strip is a bit useless. So, we use "make install" in all cases, and let Buildroot do the stripping of the binaries if BR2_ENABLE_DEBUG is not set. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Makefile.autotools.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 1ccf44c..589079b 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -66,11 +66,7 @@ $(2)_AUTORECONF ?= NO
$(2)_AUTORECONF_OPT ?=
$(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
-else
-$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-strip
-endif
$(2)_CLEAN_OPT ?= clean
$(2)_UNINSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) uninstall
$(2)_UNINSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) uninstall