summaryrefslogtreecommitdiffstats
path: root/rules/host-e2fsprogs.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2006-08-06 18:48:22 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2006-08-06 18:48:22 +0000
commitf5874c1a5a7fe4fedde35401beea10253bcdc7db (patch)
tree15a82ba68751b97cc72edf20b003fcd8f607f01e /rules/host-e2fsprogs.make
parented43049eea8687c7ae5692cebaa5f4273691a767 (diff)
downloadptxdist-f5874c1a5a7fe4fedde35401beea10253bcdc7db.tar.gz
ptxdist-f5874c1a5a7fe4fedde35401beea10253bcdc7db.tar.xz
* e2fsprogs: If the e2fsprogs source tarfile is not already present,
host-e2fsprogs make will fail on the "get" operation. This patch to host-e2fsprogs.makefile will allow it to successfully download the source package. Patch by Randall Loomis, modified by Robert Schwebel. git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@5976 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/host-e2fsprogs.make')
-rw-r--r--rules/host-e2fsprogs.make13
1 files changed, 9 insertions, 4 deletions
diff --git a/rules/host-e2fsprogs.make b/rules/host-e2fsprogs.make
index b64ba8aa0..8e466de07 100644
--- a/rules/host-e2fsprogs.make
+++ b/rules/host-e2fsprogs.make
@@ -2,7 +2,7 @@
# $Id$
#
# Copyright (C) 2006 by Robert Schwebel
-#
+#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
@@ -17,16 +17,21 @@ HOST_PACKAGES-$(PTXCONF_HOST_E2FSPROGS) += host-e2fsprogs
#
# Paths and names
#
-HOST_E2FSPROGS_DIR = $(HOST_BUILDDIR)/$(E2FSPROGS)
+HOST_E2FSPROGS_VERSION = $(E2FSPROGS_VERSION)
+HOST_E2FSPROGS := e2fsprogs-$(HOST_E2FSPROGS_VERSION)
+HOST_E2FSPROGS_SUFFIX := tar.gz
+HOST_E2FSPROGS_URL := $(PTXCONF_SETUP_SFMIRROR)/e2fsprogs/$(HOST_E2FSPROGS).$(HOST_E2FSPROGS_SUFFIX)
+HOST_E2FSPROGS_SOURCE := $(SRCDIR)/$(HOST_E2FSPROGS).$(HOST_E2FSPROGS_SUFFIX)
+HOST_E2FSPROGS_DIR := $(HOST_BUILDDIR)/$(HOST_E2FSPROGS)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
-host-e2fsprogs_get: $(STATEDIR)/host-e2fsprogs.get
+host-e2fsprogs_get: $(STATEDIR)/host-e2fsprogs.get
-$(STATEDIR)/host-e2fsprogs.get: $(STATEDIR)/e2fsprogs.get
+$(STATEDIR)/host-e2fsprogs.get: $(host-e2fsprogs_get_deps_default)
@$(call targetinfo, $@)
@$(call touch, $@)