pmbootstrap/pmb/build
lambdadroid 8881b0489f
build: envkernel: install makedepends (!1824)
Currently, building with envkernel.sh entirely ignores the
makedepends listed in the kernel APKBUILD. Common dependencies
needed by most kernels are hardcoded in envkernel.sh.
However, some kernels may need extra dependencies either during
the build process or when the kernel is packaged.

Installing the makedepends when the build environment is initialized
is difficult because "source helpers/envkernel.sh" is not aware
of the exact kernel package that is going to be built later.

However, we can easily modify the packaging step
(i.e. pmbootstrap build --envkernel linux-...)
to install the required makedepends.

This fixes building "linux-postmarketos-qcom-msm8916" using envkernel,
since it requires "dtbTool" and "installkernel" to be installed when
the APKBUILD package() function is executed.
2019-10-13 21:27:43 +02:00
..
__init__.py build: remove QEMU workaround for aarch64 (!1814) 2019-09-18 21:39:31 +02:00
_package.py Make strict mode available to packages (!1771) 2019-04-04 19:43:11 +02:00
autodetect.py Add "crossdirect": faster cross compiling (!1758) 2019-03-23 01:13:36 +01:00
checksum.py pmb.build.checksum: rename .check() to .update() 2019-05-24 22:41:31 +02:00
envkernel.py build: envkernel: install makedepends (!1824) 2019-10-13 21:27:43 +02:00
init.py build: remove QEMU workaround for aarch64 (!1814) 2019-09-18 21:39:31 +02:00
menuconfig.py build/menuconfig: fix kconfig_edit (!1791) 2019-06-11 21:59:30 +02:00
newapkbuild.py Update copyright to 2019 2019-01-02 09:31:20 +01:00
other.py index: add DESCRIPTION file to APKINDEX.tar.gz (!1822) 2019-10-06 14:45:32 +02:00