kernel=5.0.4; Busybox build has been fixed => explicitly linked with GLIBC from sysroot.
This commit is contained in:
parent
bc104e87a3
commit
52e3938d1f
@ -42,9 +42,9 @@ This is a screenshot of the current development version of Minimal Linux Live:
|
||||
|
||||
### Current development state
|
||||
|
||||
As of **16-Mar-2019**:
|
||||
As of **25-Mar-2019**:
|
||||
|
||||
* Linux kernel 5.0.2 (stable)
|
||||
* Linux kernel 5.0.4 (stable)
|
||||
* GNU C Library 2.27 (stable)
|
||||
* BusyBox 1.30.1 (stable)
|
||||
* Stable build on default Ubuntu 18.04.2 installation with applied system updates.
|
||||
|
@ -11,13 +11,13 @@
|
||||
#
|
||||
# http://kernel.org
|
||||
#
|
||||
KERNEL_SOURCE_URL=http://kernel.org/pub/linux/kernel/v5.x/linux-5.0.2.tar.xz
|
||||
KERNEL_SOURCE_URL=http://kernel.org/pub/linux/kernel/v5.x/linux-5.0.4.tar.xz
|
||||
|
||||
# You can find the latest GNU C library source bundles here:
|
||||
#
|
||||
# http://gnu.org/software/libc
|
||||
#
|
||||
GLIBC_SOURCE_URL=http://ftp.gnu.org/gnu/glibc/glibc-2.27.tar.bz2
|
||||
GLIBC_SOURCE_URL=http://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.bz2
|
||||
|
||||
# You can find the latest BusyBox source bundles here:
|
||||
#
|
||||
|
@ -39,10 +39,12 @@ fi
|
||||
# Now we tell BusyBox to use the sysroot area.
|
||||
sed -i "s|.*CONFIG_SYSROOT.*|CONFIG_SYSROOT=\"$SYSROOT\"|" .config
|
||||
|
||||
# Configure the compiler flags and explicitly link Busybox with GLIBC from sysroot.
|
||||
sed -i "s|.*CONFIG_EXTRA_CFLAGS.*|CONFIG_EXTRA_CFLAGS=\"$CFLAGS -L$SYSROOT/lib\"|" .config
|
||||
|
||||
# Compile busybox with optimization for "parallel jobs" = "number of processors".
|
||||
echo "Building BusyBox."
|
||||
make \
|
||||
EXTRA_CFLAGS="$CFLAGS" \
|
||||
busybox -j $NUM_JOBS
|
||||
|
||||
# Create the symlinks for busybox. The file 'busybox.links' is used for this.
|
||||
|
Loading…
x
Reference in New Issue
Block a user