aboutsummaryrefslogtreecommitdiff
path: root/package/hdparm
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-11 22:46:29 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-06-11 23:03:48 +0200
commit11dbb615338cd768acc2c3138064ddf557e9b60b (patch)
treec96270435ce600e988007cf1ae7705db04a4d0f4 /package/hdparm
parentef41e597927fa049b02cae877a2fbaca248349e1 (diff)
downloadbuildroot-11dbb615338cd768acc2c3138064ddf557e9b60b.tar.gz
buildroot-11dbb615338cd768acc2c3138064ddf557e9b60b.tar.bz2
hdparm: prevent package makefile from stripping the hdparm binary
Packages shouldn't strip executables by themselves, so that Buildroot controls whether stripping should occur or not. This also fixes the build on Blackfin FLAT where stripping actually doesn't work because stripping FLAT binaries is not supported. Fixes: http://autobuild.buildroot.org/results/7d4/7d4e59c96928a06db5091235bf2eacf462ba8a21/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/hdparm')
-rw-r--r--package/hdparm/hdparm.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/hdparm/hdparm.mk b/package/hdparm/hdparm.mk
index 1a200fb6b4..0ca3c39b05 100644
--- a/package/hdparm/hdparm.mk
+++ b/package/hdparm/hdparm.mk
@@ -12,7 +12,8 @@ HDPARM_LICENSE_FILES = LICENSE.TXT
define HDPARM_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)"
+ LDFLAGS="$(TARGET_LDFLAGS)" \
+ STRIP=/bin/true
endef
define HDPARM_INSTALL_TARGET_CMDS