Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/openntpd
Date: Mon, 16 Jul 2007 03:58:59 -0700 (PDT)	[thread overview]
Message-ID: <20070716105859.CD7C5A6131@busybox.net> (raw)

Author: ulf
Date: 2007-07-16 03:58:58 -0700 (Mon, 16 Jul 2007)
New Revision: 19110

Log:
Avoid rebuild of openntpd

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


Changeset:
Modified: trunk/buildroot/package/openntpd/openntpd.mk
===================================================================
--- trunk/buildroot/package/openntpd/openntpd.mk	2007-07-16 10:00:29 UTC (rev 19109)
+++ trunk/buildroot/package/openntpd/openntpd.mk	2007-07-16 10:58:58 UTC (rev 19110)
@@ -9,7 +9,7 @@
 OPENNTPD_DIR:=$(BUILD_DIR)/openntpd-$(OPENNTPD_VERSION)
 OPENNTPD_CAT:=$(ZCAT)
 OPENNTPD_BINARY:=ntpd
-OPENNTPD_TARGET_BINARY:=usr/sbin/foo
+OPENNTPD_TARGET_BINARY:=usr/sbin/ntpd
 
 $(DL_DIR)/$(OPENNTPD_SOURCE):
 	$(WGET) -P $(DL_DIR) $(OPENNTPD_SITE)/$(OPENNTPD_SOURCE)
@@ -48,9 +48,10 @@
 	$(STRIP) -s $@
 
 $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY): $(OPENNTPD_DIR)/$(OPENNTPD_BINARY)
+	rm -f $(TARGET_DIR)/etc/ntpd.conf
 	$(MAKE) DESTDIR=$(TARGET_DIR) STRIP_OPT="" -C $(OPENNTPD_DIR) install
-	-$(STRIP) $(TARGET_DIR)/usr/sbin/ntpd
-	cp $(OPENNTPD_DIR)/ntpd.conf $(TARGET_DIR)/etc
+	-$(STRIP) $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY)
+	cp -af $(OPENNTPD_DIR)/ntpd.conf $(TARGET_DIR)/etc/ntpd.conf
 	rm -Rf $(TARGET_DIR)/usr/man
 
 ntpd: uclibc $(TARGET_DIR)/$(OPENNTPD_TARGET_BINARY)

             reply	other threads:[~2007-07-16 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16 10:58 ulf at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-19 21:13 [Buildroot] svn commit: trunk/buildroot/package/openntpd ulf at uclibc.org
2007-08-20 16:10 ` Bernhard Fischer
2007-08-20 18:14   ` Cristian Ionescu-Idbohrn
2007-06-26 16:18 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=20070716105859.CD7C5A6131@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