fix(mk/ci.mk): set COOKBOOK_HOST_SYSROOT and COOKBOOK_PREFER_STATIC

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh 2025-02-05 02:33:19 +11:00
parent f533c369eb
commit 78a2aa75dd
No known key found for this signature in database
GPG key ID: 80E0357347554B89

View file

@ -27,6 +27,8 @@ ci-pkg: prefix FORCE
$(HOST_CARGO) build --manifest-path cookbook/pkgar/Cargo.toml --release
$(HOST_CARGO) build --manifest-path installer/Cargo.toml --release
export PATH="$(PREFIX_PATH):$$PATH" && \
export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \
export COOKBOOK_PREFER_STATIC="$(PREFER_STATIC)" && \
PACKAGES="$$($(INSTALLER) --list-packages -c config/$(ARCH)/ci.toml)" && \
cd cookbook && \
./fetch.sh "$${PACKAGES}" && \