8881b0489f
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. |
||
---|---|---|
.. | ||
__init__.py | ||
_package.py | ||
autodetect.py | ||
checksum.py | ||
envkernel.py | ||
init.py | ||
menuconfig.py | ||
newapkbuild.py | ||
other.py |