From 2690e76aa2adb4475c85405dd49c7697cc64ea9d Mon Sep 17 00:00:00 2001 From: David Wagner Date: Thu, 29 Sep 2011 21:57:46 +0200 Subject: Add support for local packages through 'file://' pseudo-protocol This can be used this way : _VERSION = 42 _SITE = file:///some/local/directory _SOURCE = mypkg-$(_VERSION).tar.bz2 Can be useful to integrate a home-made project or for testing purposes. The default command to retrieve files is 'cp' but 'rsync' could also be used. Through sshfs, it should also be possible to get non-public remote files on a ssh server. [ Thomas Petazzoni: use $(PKG)_SITE and $(PKG)_SOURCE variables instead of $(1) and $(2) ] [ Peter: don't append $(QUIET), cp doesn't handle -q] Signed-off-by: David Wagner Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- Config.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 3aa3ad8ce..0cf4d497c 100644 --- a/Config.in +++ b/Config.in @@ -32,6 +32,10 @@ config BR2_GIT string "Git command" default "git" +config BR2_LOCALFILES + string "Local files retrieval command" + default "cp" + config BR2_ZCAT string "zcat command" default "gzip -d -c" -- cgit v1.2.3-55-g7522