From: Ulf Samuelsson Date: Tue, 17 Jul 2007 17:07:33 +0000 (-0000) Subject: Avoid repeated rebuilds of 'sysvinit' X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a18b7b9f797fdf2c6161f5dcb88f7025fb913f4;p=buildroot.git Avoid repeated rebuilds of 'sysvinit' --- diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index bb234327e9..a99111d886 100644 --- a/package/sysvinit/sysvinit.mk +++ b/package/sysvinit/sysvinit.mk @@ -9,13 +9,11 @@ SYSVINIT_SITE:=ftp://ftp.cistron.nl/pub/people/miquels/software SYSVINIT_DIR:=$(BUILD_DIR)/sysvinit-$(SYSVINIT_VERSION) SYSVINIT_CAT:=$(ZCAT) SYSVINIT_BINARY:=src/init -SYSVINIT_TARGET_BINARY:=bin/init +SYSVINIT_TARGET_BINARY:=sbin/init $(DL_DIR)/$(SYSVINIT_SOURCE): $(WGET) -P $(DL_DIR) $(SYSVINIT_SITE)/$(SYSVINIT_SOURCE) -sysvinit-source: $(DL_DIR)/$(SYSVINIT_SOURCE) - sysvinit-unpacked: $(SYSVINIT_DIR)/.unpacked $(SYSVINIT_DIR)/.unpacked: $(DL_DIR)/$(SYSVINIT_SOURCE) $(SYSVINIT_CAT) $(DL_DIR)/$(SYSVINIT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - @@ -32,6 +30,8 @@ $(TARGET_DIR)/$(SYSVINIT_TARGET_BINARY): $(SYSVINIT_DIR)/$(SYSVINIT_BINARY) sysvinit: uclibc ncurses $(TARGET_DIR)/$(SYSVINIT_TARGET_BINARY) +sysvinit-source: $(DL_DIR)/$(SYSVINIT_SOURCE) + sysvinit-clean: for x in halt init shutdown ; do \ rm -f $(TARGET_DIR)/sbin/$$x || exit 1 ; \