package: normalize output of 'make external-deps'

For wget-downloaded packages, only the tarball name was displayed,
while for svn/git/bzr packages, the complete repository URL was
shown. As discussed on the list, what we want for 'make external-deps'
is only the tarball name even for git/svn/bzr downloads.

For local packages, we of course keep the full path since it's the
only information that we can provide.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2011-09-29 21:57:51 +02:00 committed by Peter Korsgaard
parent 9e045df4e1
commit 767ad6900a

View File

@ -141,7 +141,7 @@ define SOURCE_CHECK_GIT
endef
define SHOW_EXTERNAL_DEPS_GIT
echo "$($(PKG)_SITE) [git: $($(PKG)_DL_VERSION)]"
echo $($(PKG)_SOURCE)
endef
@ -155,7 +155,7 @@ define SOURCE_CHECK_BZR
endef
define SHOW_EXTERNAL_DEPS_BZR
echo "$($(PKG)_SITE) [bzr: $($(PKG)_DL_VERSION)]"
echo $($(PKG)_SOURCE)
endef
@ -173,7 +173,7 @@ define SOURCE_CHECK_SVN
endef
define SHOW_EXTERNAL_DEPS_SVN
echo "$($(PKG)_SITE) [svn: $($(PKG)_DL_VERSION)]"
echo $($(PKG)_SOURCE)
endef