From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/at
Date: Mon, 16 Jul 2007 01:12:16 -0700 (PDT) [thread overview]
Message-ID: <20070716081216.64627A5E1B@busybox.net> (raw)
Author: ulf
Date: 2007-07-16 01:12:15 -0700 (Mon, 16 Jul 2007)
New Revision: 19106
Log:
Get rid of repeated rebuild of 'at'
Modified:
trunk/buildroot/package/at/at.mk
Changeset:
Modified: trunk/buildroot/package/at/at.mk
===================================================================
--- trunk/buildroot/package/at/at.mk 2007-07-16 07:55:50 UTC (rev 19105)
+++ trunk/buildroot/package/at/at.mk 2007-07-16 08:12:15 UTC (rev 19106)
@@ -8,8 +8,8 @@
AT_SITE:=http://ftp.debian.org/debian/pool/main/a/at
AT_DIR:=$(BUILD_DIR)/at-$(AT_VERSION)
AT_CAT:=$(ZCAT)
-AT_TARGET_BINARY:=usr/bin/at
-AT_BINARY:=at
+AT_TARGET_SCRIPT:=etc/init.d/S99at
+AT_BINARY:=.at
$(DL_DIR)/$(AT_SOURCE):
$(WGET) -P $(DL_DIR) $(AT_SITE)/$(AT_SOURCE)
@@ -43,22 +43,21 @@
$(AT_DIR)/$(AT_BINARY): $(AT_DIR)/.configured
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(AT_DIR)
- touch -c $(AT_DIR)/$(AT_BINARY)
+ touch $@
-$(TARGET_DIR)/$(AT_TARGET_BINARY): $(AT_DIR)/$(AT_BINARY)
+$(TARGET_DIR)/$(AT_TARGET_SCRIPT): $(AT_DIR)/$(AT_BINARY)
# Use fakeroot to pretend to do 'make install' as root
echo '$(MAKE) DAEMON_USERNAME=root DAEMON_GROUPNAME=root ' \
'$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install' \
> $(STAGING_DIR)/.fakeroot.at
echo 'rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/doc/at' >> $(STAGING_DIR)/.fakeroot.at
- $(INSTALL) -m 0755 -D $(AT_DIR)/debian/rc $(TARGET_DIR)/etc/init.d/S99at
- touch -c $(TARGET_DIR)/$(AT_TARGET_BINARY)
+ $(INSTALL) -m 0755 -D $(AT_DIR)/debian/rc $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
-at: uclibc host-fakeroot $(TARGET_DIR)/$(AT_TARGET_BINARY)
+at: uclibc host-fakeroot $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
at-clean:
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AT_DIR) uninstall
- rm -f $(TARGET_DIR)/$(AT_TARGET_BINARY) $(TARGET_DIR)/etc/init.d/S99at
+ rm -f $(TARGET_DIR)/$(AT_TARGET_SCRIPT) $(TARGET_DIR)/etc/init.d/S99at
-$(MAKE) -C $(AT_DIR) clean
at-dirclean:
next reply other threads:[~2007-07-16 8:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 8:12 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-08-21 17:00 [Buildroot] svn commit: trunk/buildroot/package/at aldot at uclibc.org
2007-07-27 7:38 ulf at uclibc.org
2007-06-25 10:23 aldot at uclibc.org
2007-01-24 15:52 aldot at uclibc.org
2007-01-22 13:56 aldot at uclibc.org
2006-12-20 17:46 aldot at uclibc.org
2006-12-02 18:36 aldot 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=20070716081216.64627A5E1B@busybox.net \
--to=ulf@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