* [Buildroot] Makefile.autotools.in downloads new copy of tarball, everytime it is called
@ 2008-07-05 23:20 Ulf Samuelsson
0 siblings, 0 replies; only message in thread
From: Ulf Samuelsson @ 2008-07-05 23:20 UTC (permalink / raw)
To: buildroot
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It does not seem to test if there is something in $(DL_DIR)
and downloads <package>.tar.bz2.<n>,
where n is an ever increasing number.
What does MAKELEVEL mean?
If this is 1, the download occurs, even if there is something,
but you do not replace "<package>.tar.bz2".
You get "<package>.tar.bz2.<n>"
How about this?
Index: Makefile.autotools.in
===================================================================
- --- Makefile.autotools.in (revision 22653)
+++ Makefile.autotools.in (arbetskopia)
@@ -132,7 +132,7 @@
$(BUILD_DIR)/%/.stamp_downloaded:
# support make source-check/external-deps
ifeq ($(MAKELEVEL),1)
- - $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE)
+ -$(Q)test -e $(DL_DIR)/$($(PKG)_SOURCE) || $(WGET) -P $(DL_DIR)
$($(PKG)_SITE)/$($(PKG)_SOURCE)
$(if $($(PKG)_PATCH),$(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_PATCH))
else
$(call MESSAGE,"Downloading")
BR
Ulf Samuelsson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFIcAHYAyRRH5cXxqwRAj0oAJ0WSHxplkiGovBOLUnZMR2RQ6Ia5ACfeNrB
CcY6cqQsOLsB1mrkeqJBRPE=
=5kYR
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-05 23:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-05 23:20 [Buildroot] Makefile.autotools.in downloads new copy of tarball, everytime it is called Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox