summaryrefslogtreecommitdiff
path: root/package/sysvinit
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-17 17:07:33 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-17 17:07:33 +0000
commit3a18b7b9f797fdf2c6161f5dcb88f7025fb913f4 (patch)
tree7f99e3f86a54394f50ce78ffae82ea26e9c83396 /package/sysvinit
parentb2cc2970b9d3de73a1c7515b59ec8fff7cdf4987 (diff)
Avoid repeated rebuilds of 'sysvinit'
Diffstat (limited to 'package/sysvinit')
-rw-r--r--package/sysvinit/sysvinit.mk6
1 files changed, 3 insertions, 3 deletions
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 ; \