Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 10 additions & 2 deletions build/meta-uboot/recipes-uboot/uboot/uboot_2022.04.bb
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,18 @@ do_configure () {
# - verdin platforms: ${IB_PLATFORM}_defconfig (verdin uses
# uboot_2024.07.bb anyway).

# CROSS_COMPILE has to be pinned here too, not only in do_build: the
# U-Boot Makefile carries a patched-in default of
# aarch64-none-linux-gnu-, and the defconfig step probes the compiler
# (scripts/gcc-version.sh, clang-version.sh). On a 32-bit platform, or
# in a container that ships no 64-bit toolchain, that default is simply
# absent and Kconfig dies with "syntax error". A host that happens to
# have the 64-bit toolchain installed hides the bug.

if [ "${IB_PLATFORM}" = "virt64" ] && [ "${IB_BOOT_CHAIN}" = "uboot" ]; then
make qemu_arm64_defconfig
make CROSS_COMPILE=${IB_TOOLCHAIN}- qemu_arm64_defconfig
else
make ${IB_PLATFORM}_defconfig
make CROSS_COMPILE=${IB_TOOLCHAIN}- ${IB_PLATFORM}_defconfig
fi

# Specific handling for bbb platform
Expand Down
1 change: 1 addition & 0 deletions so3/so3/syscall.tbl
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ utimensat utimensat
stat64 stat64
fstatat64 fstatat64
newfstatat newfstatat
statx empty
mmap mmap
mmap2 mmap2
nanosleep nanosleep
Expand Down
Loading