summaryrefslogtreecommitdiffstats
path: root/Config.in
diff options
context:
space:
mode:
authorDavid Wagner2011-09-29 21:57:46 +0200
committerPeter Korsgaard2011-09-30 08:26:06 +0200
commit2690e76aa2adb4475c85405dd49c7697cc64ea9d (patch)
tree095e93b0ea71a8f329587882c70eb0c889a60835 /Config.in
parentpackage: remove useless arguments from CMAKETARGETS (diff)
downloadbuildroot-2690e76aa2adb4475c85405dd49c7697cc64ea9d.tar.gz
buildroot-2690e76aa2adb4475c85405dd49c7697cc64ea9d.tar.xz
buildroot-2690e76aa2adb4475c85405dd49c7697cc64ea9d.zip
Add support for local packages through 'file://' pseudo-protocol
This can be used this way : <pkg>_VERSION = 42 <pkg>_SITE = file:///some/local/directory <pkg>_SOURCE = mypkg-$(<pkg>_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 <david.wagner@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in4
1 files changed, 4 insertions, 0 deletions
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"