Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/8] gperf: convert to autotools infrastructure
Date: Sun, 15 Nov 2009 11:12:54 +0100	[thread overview]
Message-ID: <1258279977-1482-6-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1258279977-1482-1-git-send-email-llandwerlin@gmail.com>

From: Lionel Landwerlin <llandwerlin@gmail.com>

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 package/gperf/gperf.mk |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/package/gperf/gperf.mk b/package/gperf/gperf.mk
index 0dc6d6e..bb2d4f3 100644
--- a/package/gperf/gperf.mk
+++ b/package/gperf/gperf.mk
@@ -9,12 +9,14 @@ GPERF_SITE = $(BR2_GNU_MIRROR)/gperf
 GPERF_AUTORECONF = NO
 GPERF_INSTALL_STAGING = NO
 GPERF_INSTALL_TARGET = YES
-GPERF_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
+
+# install-strip rule does not exist in gperf's makefiles
 GPERF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
 
-$(eval $(call AUTOTARGETS,package,gperf))
+define GPERF_INSTALL_STRIP
+$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/gperf
+endef
 
-$(GPERF_HOOK_POST_INSTALL): $(GPERF_TARGET_INSTALL_TARGET)
-	$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/gperf
-	touch $@
+GPERF_POST_INSTALL_HOOKS += GPERF_INSTALL_STRIP
 
+$(eval $(call AUTOTARGETS,package,gperf))
-- 
1.6.5.2

  parent reply	other threads:[~2009-11-15 10:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 10:12 [Buildroot] [Patch 0/8] Webkit host dependencies fixes / package infrastructure llandwerlin at gmail.com
2009-11-15 10:12 ` [Buildroot] [PATCH 1/8] flex: fix prog-ar patch llandwerlin at gmail.com
2010-01-27 14:01   ` Peter Korsgaard
2009-11-15 10:12 ` [Buildroot] [PATCH 2/8] flex: bump to 2.5.35 llandwerlin at gmail.com
2009-11-15 10:12 ` [Buildroot] [PATCH 3/8] flex: convert to autotools infrastructure llandwerlin at gmail.com
2009-11-15 10:12 ` [Buildroot] [PATCH 4/8] flex: add flex-host package (required by webkit) llandwerlin at gmail.com
2009-11-15 11:39   ` Thomas Petazzoni
2009-11-15 15:38     ` Lionel Landwerlin
2009-11-19 22:24     ` Lionel Landwerlin
2009-11-15 14:26   ` Thomas Petazzoni
2009-11-15 15:39     ` Lionel Landwerlin
2009-11-15 16:18       ` Peter Korsgaard
2009-11-15 18:04         ` Lionel Landwerlin
2009-11-15 19:24           ` Peter Korsgaard
2009-11-16 11:20             ` Lionel Landwerlin
2009-11-15 10:12 ` llandwerlin at gmail.com [this message]
2010-01-27 13:51   ` [Buildroot] [PATCH 5/8] gperf: convert to autotools infrastructure Peter Korsgaard
2009-11-15 10:12 ` [Buildroot] [PATCH 6/8] gperf: add gperf-host package (required by webkit) llandwerlin at gmail.com
2009-11-15 10:12 ` [Buildroot] [PATCH 7/8] webkit: convert to autotools infrastructure llandwerlin at gmail.com
2009-11-15 10:12 ` [Buildroot] [PATCH 8/8] webkit: fix dependencies on host tools flex and gperf llandwerlin at gmail.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1258279977-1482-6-git-send-email-llandwerlin@gmail.com \
    --to=llandwerlin@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox