mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
scripts: aarch64: Revert the "Reduce source code build" for linux
Changes in commit "scripts: aarch64: Reduce source code build in CI" for the Linux kernel will lead to the kernel cannot be rebuilt if the config file is changed. Therefore should be reverted. Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
parent
0fa71ddf7e
commit
d4192abce1
@ -59,16 +59,13 @@ build_custom_linux() {
|
|||||||
|
|
||||||
checkout_repo "$LINUX_CUSTOM_DIR" "$LINUX_CUSTOM_URL" "$LINUX_CUSTOM_BRANCH"
|
checkout_repo "$LINUX_CUSTOM_DIR" "$LINUX_CUSTOM_URL" "$LINUX_CUSTOM_BRANCH"
|
||||||
|
|
||||||
if [ ! -f "$LINUX_CUSTOM_DIR/.built" ]; then
|
cp $SRCDIR/resources/linux-config-aarch64 $LINUX_CUSTOM_DIR/.config
|
||||||
cp $SRCDIR/resources/linux-config-aarch64 $LINUX_CUSTOM_DIR/.config
|
|
||||||
|
|
||||||
pushd $LINUX_CUSTOM_DIR
|
pushd $LINUX_CUSTOM_DIR
|
||||||
time make -j `nproc`
|
time make -j `nproc`
|
||||||
cp arch/arm64/boot/Image "$WORKLOADS_DIR/" || exit 1
|
cp arch/arm64/boot/Image "$WORKLOADS_DIR/" || exit 1
|
||||||
cp arch/arm64/boot/Image.gz "$WORKLOADS_DIR/" || exit 1
|
cp arch/arm64/boot/Image.gz "$WORKLOADS_DIR/" || exit 1
|
||||||
touch .built
|
popd
|
||||||
popd
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build_edk2() {
|
build_edk2() {
|
||||||
|
Loading…
Reference in New Issue
Block a user