diff options
author | Hamish Moffatt <hamish@cloud.net.au> | 2008-06-26 06:50:44 +0000 |
---|---|---|
committer | Hamish Moffatt <hamish@cloud.net.au> | 2008-06-26 06:50:44 +0000 |
commit | d624e8c0b4111c207a5fd307151e833ede98ea3e (patch) | |
tree | 125f46f9476ac5b6e5d0b8453f930db5a82080af /package/ethtool | |
parent | 051ed92d2419bae68ef5c8386ac032a0e2b3ca4d (diff) | |
download | buildroot-novena-d624e8c0b4111c207a5fd307151e833ede98ea3e.tar.gz buildroot-novena-d624e8c0b4111c207a5fd307151e833ede98ea3e.zip |
Don't use a stamp file to note whether the package has been installed into the $(TARGET_DIR)
Diffstat (limited to 'package/ethtool')
-rw-r--r-- | package/ethtool/ethtool.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk index 310f1c192..d94de7933 100644 --- a/package/ethtool/ethtool.mk +++ b/package/ethtool/ethtool.mk @@ -9,6 +9,7 @@ ETHTOOL_SOURCE:=ethtool-$(ETHTOOL_VERSION).tar.gz 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)/.configured: $(ETHTOOL_DIR)/.unpacked $(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) |