From 3a18b7b9f797fdf2c6161f5dcb88f7025fb913f4 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Tue, 17 Jul 2007 17:07:33 +0000 Subject: Avoid repeated rebuilds of 'sysvinit' --- package/sysvinit/sysvinit.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/sysvinit') diff --git a/package/sysvinit/sysvinit.mk b/package/sysvinit/sysvinit.mk index bb234327e..a99111d88 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 ; \ -- cgit v1.2.3