All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] Fix diffutils build breakage with BR2_STRIP_none=y
@ 2009-05-28  5:41 Peter Korsgaard
  0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2009-05-28  5:41 UTC (permalink / raw
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=a1a2e905d88da0026cb21020e3cf5573fba3fa51
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master


Look at BR2_STRIP_none to decide whether to strip diffutils binaries.
This avoids bad quoting in diffutils Makefile.in (generated by automake 1.6)
when STRIP is set to:   true -Not_stripping

Signed-off-by:  Marc Gauthier <marc@alumni.uwaterloo.ca>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/diffutils/diffutils.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk
index 1911f91..82b42c7 100644
--- a/package/diffutils/diffutils.mk
+++ b/package/diffutils/diffutils.mk
@@ -94,7 +94,8 @@ $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY): $(DIFFUTILS_DIR)/.configured
 	$(MAKE) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR)
 
 $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY): $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY)
-	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) install-strip
+	$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) \
+		$(if $(BR2_STRIP_none),install,install-strip)
 ifneq ($(BR2_HAVE_INFOPAGES),y)
 	rm -rf $(TARGET_DIR)/usr/share/info
 endif
-- 
1.6.0.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-28  5:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28  5:41 [Buildroot] [git commit] Fix diffutils build breakage with BR2_STRIP_none=y Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.