From: hamish at uclibc.org <hamish@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/ethtool
Date: Wed, 25 Jun 2008 23:50:45 -0700 (PDT) [thread overview]
Message-ID: <20080626065045.627EB3C289@busybox.net> (raw)
Author: hamish
Date: 2008-06-25 23:50:44 -0700 (Wed, 25 Jun 2008)
New Revision: 22512
Log:
Don't use a stamp file to note whether the package has been installed into the $(TARGET_DIR)
Modified:
trunk/buildroot/package/ethtool/ethtool.mk
Changeset:
Modified: trunk/buildroot/package/ethtool/ethtool.mk
===================================================================
--- trunk/buildroot/package/ethtool/ethtool.mk 2008-06-26 06:43:33 UTC (rev 22511)
+++ trunk/buildroot/package/ethtool/ethtool.mk 2008-06-26 06:50:44 UTC (rev 22512)
@@ -9,6 +9,7 @@
ETHTOOL_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gkernel/
ETHTOOL_DIR:=$(BUILD_DIR)/ethtool-$(ETHTOOL_VERSION)
ETHTOOL_CAT:=$(ZCAT)
+ETHTOOL_BINARY=usr/sbin/ethtool
$(DL_DIR)/$(ETHTOOL_SOURCE):
$(WGET) -P $(DL_DIR) $(ETHTOOL_SITE)/$(ETHTOOL_SOURCE)
@@ -33,11 +34,11 @@
$(ETHTOOL_DIR)/ethtool: $(ETHTOOL_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(ETHTOOL_DIR)
-$(ETHTOOL_DIR)/.installed: $(ETHTOOL_DIR)/ethtool
- cp $(ETHTOOL_DIR)/ethtool $(TARGET_DIR)/usr/sbin
- touch $@
+$(TARGET_DIR)/$(ETHTOOL_BINARY): $(ETHTOOL_DIR)/ethtool
+ cp $(ETHTOOL_DIR)/ethtool $@
+ $(STRIPCMD) $@
-ethtool: uclibc $(ETHTOOL_DIR)/.installed
+ethtool: uclibc $(TARGET_DIR)/$(ETHTOOL_BINARY)
ethtool-source: $(DL_DIR)/$(ETHTOOL_SOURCE)
next reply other threads:[~2008-06-26 6:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-26 6:50 hamish at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-04 19:08 [Buildroot] svn commit: trunk/buildroot/package/ethtool jacmet at uclibc.org
2008-08-04 19:07 jacmet at uclibc.org
2007-08-01 9:53 jacmet at uclibc.org
2007-05-31 15:27 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=20080626065045.627EB3C289@busybox.net \
--to=hamish@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