summaryrefslogtreecommitdiffstats
path: root/package/ltrace
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-08-30 11:17:23 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2013-08-30 14:09:45 +0200
commit014dd9b15304923de9bd3a7aa0e4778b0fa11393 (patch)
tree45174914b9f382f87cf2d18e65db93f44a6b9284 /package/ltrace
parent13d917aaffadc991360992c86031f2da67e07553 (diff)
downloadbuildroot-014dd9b15304923de9bd3a7aa0e4778b0fa11393.tar.gz
buildroot-014dd9b15304923de9bd3a7aa0e4778b0fa11393.zip
ltrace: Add missing mips->mipsel symlink
Restore missing mips->mipsel symlink. It appears ltrace was packaged incorrectly and the symlink got lost. See http://lists.alioth.debian.org/pipermail/ltrace-devel/2013-August/000938.html [Peter: add a comment explaining why] Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ltrace')
-rw-r--r--package/ltrace/ltrace.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index 55930b8c1f..0ea8ff3272 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -13,6 +13,13 @@ LTRACE_CONF_OPT = --disable-werror
LTRACE_LICENSE = GPLv2
LTRACE_LICENSE_FILES = COPYING
+# symlink missing from tarball
+define LTRACE_MIPS_SYMLINK
+ cd $(@D)/sysdeps/linux-gnu; ln -sf mipsel mips
+endef
+
+LTRACE_POST_EXTRACT_HOOKS += LTRACE_MIPS_SYMLINK
+
# ltrace can use libunwind only if libc has backtrace() support
# We don't normally do so for uClibc and we can't know if it's external
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
OpenPOWER on IntegriCloud