diff --git a/docs/buildroot.html b/docs/buildroot.html
index d5be1276c3..e13e8f7528 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -1031,7 +1031,7 @@ $(eval $(call GENTARGETS,package,libfoo,host))
LIBFOO_SOURCE
may contain the name of the tarball of
the package. If HOST_LIBFOO_SOURCE
is not specified, it
- defaults to LIBFOO_VERSION
. If none are specified, then
+ defaults to LIBFOO_SOURCE
. If none are specified, then
the value is assumed to be
packagename-$(LIBFOO_VERSION).tar.gz
.
Example:
LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2
diff --git a/docs/manual/adding-packages-gentargets.txt b/docs/manual/adding-packages-gentargets.txt
index 29fc64028c..b344494648 100644
--- a/docs/manual/adding-packages-gentargets.txt
+++ b/docs/manual/adding-packages-gentargets.txt
@@ -131,7 +131,7 @@ information is (assuming the package name is +libfoo+) :
* +LIBFOO_SOURCE+ may contain the name of the tarball of
the package. If +HOST_LIBFOO_SOURCE+ is not specified, it
- defaults to +LIBFOO_VERSION+. If none are specified, then
+ defaults to +LIBFOO_SOURCE+. If none are specified, then
the value is assumed to be
+packagename-$(LIBFOO_VERSION).tar.gz+. +
Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+