Go to file
Yann E. MORIN a07da16e78 download/git: ensure we always work in the expected repository
git always look directories up until it finds a repository. In case
the git cache is broken, it may no longer be identified as a repository,
and git will look higher in the directories until it finds one.

In the default conditions, this would be Buildroot's own git tree
(because DL_DIR is a subdir of Buildroot), but in some situations may
very well be any repository the user has Buildroot in, like a
br2-external tree...

So, we force git to use our git cache and never look elsewhere, as
Suggested by Ricardo.

Use GIT_DIR, as it has been there for ages now, while --git-dir was
only introduced later (even if most distros ship an later version),
as suggested by Arnout.

Also fix the one call to git that was not using the wrapper.

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-19 22:30:50 +02:00
arch arch: drop BR2_BINFMT_FLAT_SEP_DATA support 2018-04-15 22:04:09 +02:00
board configs/gdb_bfin_bf512: remove defconfig 2018-04-15 22:03:20 +02:00
boot boot/uboot: remove Blackfin related code 2018-04-15 22:04:28 +02:00
configs configs/gdb_bfin_bf512: remove defconfig 2018-04-15 22:03:20 +02:00
docs docs/website: update for 2017.02.11 2018-04-12 18:42:04 +02:00
fs fs/cramfs: add xip option 2018-04-09 11:29:46 +02:00
linux linux: remove Blackfin related code 2018-04-15 22:04:29 +02:00
package pixiewps: add missing dependency on threads 2018-04-18 17:14:29 +02:00
support download/git: ensure we always work in the expected repository 2018-04-19 22:30:50 +02:00
system system/Config.in: re-wrap help text 2018-04-01 08:01:05 +02:00
toolchain toolchain, gcc, gdb, binutils, uclibc: remove Blackfin code 2018-04-15 22:05:14 +02:00
utils scanpypi: add support for the new PyPI infrastructure 2018-04-18 17:11:47 +02:00
.defconfig
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore
.gitlab-ci.yml configs/gdb_bfin_bf512: remove defconfig 2018-04-15 22:03:20 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: extend check-package test to Config.* files 2018-04-01 10:16:35 +02:00
CHANGES Update for 2017.02.11 2018-04-12 18:37:41 +02:00
Config.in Config.in: fix check-package warning 2018-04-17 14:54:45 +02:00
Config.in.legacy legacy: remove options made legacy 5 years ago 2018-04-16 16:21:14 +02:00
COPYING
DEVELOPERS arch: remove Blackfin architecture 2018-04-15 22:03:41 +02:00
Makefile arch: remove Blackfin architecture 2018-04-15 22:03:41 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches