[Buildroot] svn commit: trunk/buildroot

Peter Korsgaard jacmet at uclibc.org
Wed Jul 9 13:08:18 UTC 2008

>>>>> "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

Bye, Peter Korsgaard

More information about the buildroot mailing list