openwrt-6.x/include
Jeffery To f597f34f3a
build: export GIT_CEILING_DIRECTORIES for package builds
A package may run git as part of its build process, and if the package
source code is not from a git checkout, then git may traverse up the
directory tree to find buildroot's repository directory (.git).

For instance, Poetry Core, a Python build backend, will read the
contents of .gitignore for paths to exclude when creating a Python
package. If it finds buildroot's .gitignore file, then Poetry Core will
exclude all of the package's files[1].

This exports GIT_CEILING_DIRECTORIES for both package and host builds so
that git will not traverse beyond $(BUILD_DIR)/$(BUILD_DIR_HOST).

[1]: https://github.com/python-poetry/poetry/issues/5547

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-31 19:33:00 +02:00
..
site generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
autotools.mk autotools: add list of fake paths to tools 2023-05-04 06:07:26 +02:00
bpf.mk
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk download: create immutable subversion checkout archive 2023-05-18 16:17:52 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: export GIT_CEILING_DIRECTORIES for package builds 2023-05-31 19:33:00 +02:00
image-commands.mk build: Allow specifying uImage time 2023-05-20 21:29:25 +02:00
image.mk build: Allow specifying uImage time 2023-05-20 21:29:25 +02:00
kernel-5.15 kernel: bump 5.15 to 5.15.114 2023-05-31 07:31:41 +02:00
kernel-6.1 kernel: add define for kernel 6.1 2023-05-22 22:28:10 +02:00
kernel-build.mk
kernel-defaults.mk kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function 2023-05-22 22:28:18 +02:00
kernel-version.mk
kernel.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
logo.png
logo.svg
meson.mk
netfilter.mk
nls.mk
openssl-module.mk openssl: add legacy provider 2023-04-05 08:24:49 -03:00
package-bin.mk
package-defaults.mk build: disable automake dependency tracking 2023-03-13 22:53:41 +01:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk build: export GIT_CEILING_DIRECTORIES for package builds 2023-05-31 19:33:00 +02:00
prereq-build.mk prereq-build: add missing check for Perl IPC::Cmd 2023-05-28 08:58:06 +02:00
prereq.mk prereq: SetupHostCommand: fix wrong check result 2023-05-23 17:49:57 +02:00
quilt.mk
rootfs.mk
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
toolchain-build.mk
toplevel.mk
trusted-firmware-a.mk
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk