Skip to contentSkip to conversation

ltrace: Add missing mips->mipsel symlink

PATCH New Markos Chandras 2 participants 2 messages Aug 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/ltrace/ltrace.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/ltrace/ltrace.mk +6 -0
index 55930b8..08d6276 100644
@@ -13,6 +13,12 @@ LTRACE_CONF_OPT = --disable-werror
 LTRACE_LICENSE = GPLv2
 LTRACE_LICENSE_FILES = COPYING
 
+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)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 ltrace: Add missing mips->mipsel symlink

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Markos" == Markos Chandras <[email protected]> writes:

Markos> Restore missing mips->mipsel symlink. It appears ltrace was Markos> packaged incorrectly and the symlink got lost. See
Markos> http://lists.alioth.debian.org/pipermail/ltrace-devel/2013-August/000938.html

Committed with a small comment explaing why, thanks.

Signature · 1 line
Bye, Peter Korsgaard