[Buildroot] svn commit: trunk/buildroot
ulf.samuelsson at atmel.com
Wed Jul 9 14:45:39 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Peter Korsgaard skrev:
>>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop at gmail.com> writes:
> >> Me or Ulf? For me, see r22607. Makefile.autotools.in is kinda
> >> broken as the download target is executed even if the download
> >> exists (E.G. it
> Bernhard> Ok that's broken.
> Bernhard> $(BUILD_DIR)/%/.stamp_download_tarball:
> Bernhard> $(WGET) -P $(DL_DIR) $($(PKG)_SITE)/$($(PKG)_SOURCE)
> Bernhard> # or $(if $(BR2_PRIMARY_SITE),$(BR2_PRIMARY_SITE),$($(PKG)_SITE))/$($(PKG)_SOURCE) if you want to support that primary site stuff
> Bernhard> touch $@
> That won't work if you do a clean and rebuild or reuse a download dir
> for another build. You have to really make $(DL_DIR)/$($(PKG)_SOURCE)
> the target.
> I guess we could use wget -c, but that would be kinda lame (and
If a package is present in $(DL_DIR) you only need
to perform the WGET in very special cases.
Why not tell the autotools this explicitly, like I proposed?
It is an easy fix, and it works as far as I see.
Alternatively, you can make the test for presence in $(DL_DIR)
a configurable item which can be disabled when make source-check
or make external-deps is executed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the buildroot