Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/haserl
Date: Sat, 12 Apr 2008 06:26:58 -0700 (PDT)	[thread overview]
Message-ID: <20080412132658.2BBDC3C573@busybox.net> (raw)

Author: jacmet
Date: 2008-04-12 06:26:57 -0700 (Sat, 12 Apr 2008)
New Revision: 21718

Log:
haserl: depend on haserl binary in TARGET_DIR and also cleanup TARGET_DIR.


Modified:
   trunk/buildroot/package/haserl/haserl.mk


Changeset:
Modified: trunk/buildroot/package/haserl/haserl.mk
===================================================================
--- trunk/buildroot/package/haserl/haserl.mk	2008-04-12 09:56:15 UTC (rev 21717)
+++ trunk/buildroot/package/haserl/haserl.mk	2008-04-12 13:26:57 UTC (rev 21718)
@@ -10,6 +10,7 @@
 HASERL_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/haserl/
 HASERL_DIR:=$(BUILD_DIR)/haserl-$(HASERL_VERSION)
 HASERL_CAT:=$(ZCAT)
+HASERL_BINARY:=usr/bin/haserl
 
 $(DL_DIR)/$(HASERL_SOURCE):
 	$(WGET) -P $(DL_DIR) $(HASERL_SITE)/$(HASERL_SOURCE)
@@ -35,11 +36,10 @@
 $(HASERL_DIR)/src/haserl: $(HASERL_DIR)/.configured
 	$(MAKE) CC=$(TARGET_CC) -C $(HASERL_DIR)
 
-$(HASERL_DIR)/.installed: $(HASERL_DIR)/src/haserl
-	cp $(HASERL_DIR)/src/haserl $(TARGET_DIR)/usr/bin
-	touch $@
+$(TARGET_DIR)/$(HASERL_BINARY): $(HASERL_DIR)/src/haserl
+	cp $^ $@
 
-haserl: uclibc $(HASERL_DIR)/.installed
+haserl: uclibc $(TARGET_DIR)/$(HASERL_BINARY)
 
 haserl-source: $(DL_DIR)/$(HASERL_SOURCE)
 
@@ -47,6 +47,7 @@
 
 haserl-clean:
 	-$(MAKE) -C $(HASERL_DIR) clean
+	rm -f $(TARGET_DIR)/$(HASERL_BINARY)
 
 haserl-dirclean:
 	rm -rf $(HASERL_DIR)

             reply	other threads:[~2008-04-12 13:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-12 13:26 jacmet at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-17 12:40 [Buildroot] svn commit: trunk/buildroot/package/haserl jacmet at uclibc.org
2008-12-01 15:10 jacmet at uclibc.org
2008-08-19  9:40 jacmet at uclibc.org
2008-08-19  9:40 jacmet at uclibc.org
2008-04-07  7:59 jacmet at uclibc.org
2008-04-07  7:59 jacmet at uclibc.org
2008-02-29 13:54 jacmet at uclibc.org
2007-12-13 12:01 vanokuten at uclibc.org
2007-12-13 11:34 vanokuten at uclibc.org
2007-12-11 20:29 vanokuten at uclibc.org
2007-10-30 22:10 ulf at uclibc.org
2007-10-12 14:28 ulf at uclibc.org
2007-10-12 15:05 ` Alexander Kriegisch
2007-05-31 15:19 jacmet at uclibc.org

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=20080412132658.2BBDC3C573@busybox.net \
    --to=jacmet@uclibc.org \
    --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