Buildroot 2019.02.8 (#533)

* Update Buildroot 2019.02.8

* Update patches
This commit is contained in:
Pascal Vizeli
2020-01-11 11:24:41 +01:00
committed by GitHub
parent a874bb5fb5
commit 63967cf6c0
629 changed files with 8416 additions and 3889 deletions

View File

@@ -271,6 +271,10 @@ if grep -q ^BR2_PACKAGE_WHOIS=y $BR2_CONFIG ; then
required_perl_modules="$required_perl_modules autodie"
fi
if grep -q -E '^BR2_PACKAGE_(WEBKITGTK|WPEWEBKIT)=y' $BR2_CONFIG ; then
required_perl_modules="${required_perl_modules} JSON::PP"
fi
# This variable will keep the modules that are missing in your system.
missing_perl_modules=""

View File

@@ -130,7 +130,7 @@ fi
# scratch won't help, so we don't want to trash the repository for a
# missing commit. We just exit without going through the ERR trap.
if ! _git rev-parse --quiet --verify "'${cset}^{commit}'" >/dev/null 2>&1; then
printf "Commit '%s' does not exist in this repository\n." "${cset}"
printf "Commit '%s' does not exist in this repository.\n" "${cset}"
exit 1
fi

View File

@@ -1,5 +1,6 @@
# Impersonate a Linux system. Afterall, that's what we are...
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM ${CMAKE_SYSTEM_NAME})
include(Platform/Linux)
# Override problematic settings, to avoid RPATH against host lib directories.

View File

@@ -1,14 +1,15 @@
#!/bin/sh
SYSROOT="${1}"
BUILDDIR="${1}"
SYSROOT="${2}"
# Make sure we have enough version components
HDR_VER="${2}.0.0"
HDR_VER="${3}.0.0"
HDR_M="${HDR_VER%%.*}"
HDR_V="${HDR_VER#*.}"
HDR_m="${HDR_V%%.*}"
EXEC="$(mktemp -t check-headers.XXXXXX)"
EXEC="$(mktemp -p "${BUILDDIR}" -t .check-headers.XXXXXX)"
# We do not want to account for the patch-level, since headers are
# not supposed to change for different patchlevels, so we mask it out.

View File

@@ -38,7 +38,8 @@ class Emulator(object):
qemu_cmd = ["qemu-system-{}".format(qemu_arch),
"-serial", "stdio",
"-display", "none"]
"-display", "none",
"-m", "256"]
if options:
qemu_cmd += options
@@ -60,8 +61,12 @@ class Emulator(object):
qemu_cmd += ["-M", "vexpress-a9"]
elif arch == "armv5":
kernel = infra.download(self.downloaddir,
"kernel-versatile")
"kernel-versatile-4.19")
dtb = infra.download(self.downloaddir,
"versatile-pb-4.19.dtb")
qemu_cmd += ["-dtb", dtb]
qemu_cmd += ["-M", "versatilepb"]
qemu_cmd += ["-device", "virtio-rng-pci"]
qemu_cmd += ["-kernel", kernel]

View File

@@ -12,7 +12,7 @@ class TestLuaBase(infra.basetest.BRTest):
def login(self):
cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
self.emulator.boot(arch="armv7",
self.emulator.boot(arch="armv5",
kernel="builtin",
options=["-initrd", cpio_file])
self.emulator.login()

View File

@@ -12,7 +12,7 @@ class TestPerlBase(infra.basetest.BRTest):
def login(self):
cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio")
self.emulator.boot(arch="armv7",
self.emulator.boot(arch="armv5",
kernel="builtin",
options=["-initrd", cpio_file])
self.emulator.login()