From: jacmet at uclibc.org <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/ethtool
Date: Mon, 4 Aug 2008 12:07:45 -0700 (PDT) [thread overview]
Message-ID: <20080804190745.CE8A63C8AE@busybox.net> (raw)
Author: jacmet
Date: 2008-08-04 12:07:45 -0700 (Mon, 04 Aug 2008)
New Revision: 23026
Log:
ethtool: convert to Makefile.autotools.in format
Modified:
trunk/buildroot/package/ethtool/ethtool.mk
Changeset:
Modified: trunk/buildroot/package/ethtool/ethtool.mk
===================================================================
--- trunk/buildroot/package/ethtool/ethtool.mk 2008-08-04 19:07:41 UTC (rev 23025)
+++ trunk/buildroot/package/ethtool/ethtool.mk 2008-08-04 19:07:45 UTC (rev 23026)
@@ -7,51 +7,12 @@
ETHTOOL_VERSION:=6
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
+ETHTOOL_AUTORECONF:=no
+ETHTOOL_INSTALL_STAGING:=NO
+ETHTOOL_INSTALL_TARGET:=YES
+ETHTOOL_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' install-strip
+ETHTOOL_UNINSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) uninstall
-$(DL_DIR)/$(ETHTOOL_SOURCE):
- $(WGET) -P $(DL_DIR) $(ETHTOOL_SITE)/$(ETHTOOL_SOURCE)
+ETHTOOL_DEPENDENCIES:=uclibc
-$(ETHTOOL_DIR)/.unpacked: $(DL_DIR)/$(ETHTOOL_SOURCE)
- $(ETHTOOL_CAT) $(DL_DIR)/$(ETHTOOL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $@
-
-$(ETHTOOL_DIR)/.configured: $(ETHTOOL_DIR)/.unpacked
- (cd $(ETHTOOL_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --prefix=/usr \
- --sysconfdir=/etc \
- )
- touch $@
-
-$(ETHTOOL_DIR)/ethtool: $(ETHTOOL_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(ETHTOOL_DIR)
-
-$(TARGET_DIR)/$(ETHTOOL_BINARY): $(ETHTOOL_DIR)/ethtool
- cp $(ETHTOOL_DIR)/ethtool $@
- $(STRIPCMD) $@
-
-ethtool: uclibc $(TARGET_DIR)/$(ETHTOOL_BINARY)
-
-ethtool-source: $(DL_DIR)/$(ETHTOOL_SOURCE)
-
-ethtool-clean:
- -$(MAKE) -C $(ETHTOOL_DIR) clean
-
-ethtool-dirclean:
- rm -rf $(ETHTOOL_DIR)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_ETHTOOL)),y)
-TARGETS+=ethtool
-endif
+$(eval $(call AUTOTARGETS,package,ethtool))
next reply other threads:[~2008-08-04 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 19:07 jacmet 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-06-26 6:50 hamish 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=20080804190745.CE8A63C8AE@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