1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 13:29:16 +02:00
openwrt/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 bpf: ignore missing LLVM bins on package for non compile steps 2023-01-19 00:29:09 +01:00
cmake.mk
debug.mk
depends.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
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 build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
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 netfilter: add kmod-nf-conntrack 2023-02-18 17:12:30 +01:00
nls.mk nls.mk: fixup cmake packages 2022-11-27 00:52:06 +01:00
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 treewide: derive host and hostpkg path from STAGING_DIR 2023-01-09 21:33:20 +01:00
shell.sh
subdir.mk
target.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
toolchain-build.mk
toplevel.mk treewide: derive host and hostpkg path from STAGING_DIR 2023-01-09 21:33:20 +01:00
trusted-firmware-a.mk trusted-firmware-a.mk: fix build with binutils 2.39+ 2023-01-21 11:55:23 +01:00
u-boot.mk
uclibc++.mk
unpack.mk include: use libdeflate's gzip to decompress 2023-01-17 21:40:18 +01:00
verbose.mk
version.mk