Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EBLINUX-26864 init version of fixing path for sysroot build for rpi #43

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions images/arm64/raspberry/raspberry.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ default: image
# Result folder
#--------------

result_folder ?= ./build
result_folder ?= $(PWD)/build

#---------------------
# Select bash as shell
Expand Down Expand Up @@ -68,7 +68,7 @@ base_tarball ?= $(result_folder)/ebcl_pi4.tar
root_tarball ?= $(result_folder)/ebcl_pi4.config.tar

# Sysroot tarball
sysroot_tarball ?= $(result_folder)/ebcl_rdb2_sysroot.tar
sysroot_tarball ?= $(result_folder)/ebcl_pi4_sysroot.tar

#--------------------------
# Image build configuration
Expand All @@ -80,7 +80,7 @@ sysroot_tarball ?= $(result_folder)/ebcl_rdb2_sysroot.tar
$(disc_image): $(root_tarball) $(partition_layout)
@echo "Build image..."
mkdir -p $(result_folder)
set -o pipefail && embdgen -o ./$(disc_image) $(partition_layout) 2>&1 | tee $(disc_image).log
set -o pipefail && embdgen -o $(disc_image) $(partition_layout) 2>&1 | tee $(disc_image).log


# The root generator is used to build the base root filesystem tarball.
Expand Down Expand Up @@ -181,7 +181,7 @@ sysroot: $(sysroot_tarball)
.PHONY: sysroot_install
sysroot_install: $(sysroot_tarball)
rm -rf /workspace/sysroot_$(arch)/*
cp $(result_folder)/$(sysroot_tarball) /workspace/sysroot_$(arch)/
cp $(sysroot_tarball) /workspace/sysroot_$(arch)/
cd /workspace/sysroot_$(arch)/ && tar xf $(sysroot_tarball)

# clean - delete the generated artifacts
Expand Down