Skip to content

Commit 6358c23

Browse files
committed
prepare qemu
1 parent e2d17c5 commit 6358c23

File tree

8 files changed

+423
-3
lines changed

8 files changed

+423
-3
lines changed

notes/ffi.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
source /home/mattias/Projekte/git/TinyCrossLinux/stage0n_variables
3+
source /home/mattias/Projekte/git/TinyCrossLinux/stage01_variables
4+
source /home/mattias/Projekte/git/TinyCrossLinux/stage02_variables
5+
6+
cd glib-2.42.1
7+
./configure --prefix=/usr --prefix=/usr --sysconfdir=/etc --host=${CLFS_TARGET}
8+

notes/glib.cache

+365
Large diffs are not rendered by default.

notes/glib.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
source /home/mattias/Projekte/git/TinyCrossLinux/stage0n_variables
3+
source /home/mattias/Projekte/git/TinyCrossLinux/stage01_variables
4+
source /home/mattias/Projekte/git/TinyCrossLinux/stage02_variables
5+
6+
export PKG_CONFIG_PATH=/mnt/archiv/TinyCrossBuild/cross-tools/x86_64-linux-musl/lib/pkgconfig
7+
8+
cd glib-2.42.1
9+
./configure --cache-file=/tmp/glib.cache --prefix=/usr --prefix=/usr --sysconfdir=/etc --host=${CLFS_TARGET}
10+
make
11+
make install DESTDIR=${CLFS}/cross-tools/${CLFS_TARGET}
12+

notes/libffi.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
source /home/mattias/Projekte/git/TinyCrossLinux/stage0n_variables
3+
source /home/mattias/Projekte/git/TinyCrossLinux/stage01_variables
4+
source /home/mattias/Projekte/git/TinyCrossLinux/stage02_variables
5+
6+
cd libffi-3.2.1
7+
./configure --prefix=/usr --prefix=/usr --sysconfdir=/etc --host=${CLFS_TARGET}
8+
make
9+
make install DESTDIR=${CLFS}/targetfs
10+
make install DESTDIR=${CLFS}/cross-tools/${CLFS_TARGET}
11+

notes/pkg-config.sh

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
source /home/mattias/Projekte/git/TinyCrossLinux/stage0n_variables
3+
source /home/mattias/Projekte/git/TinyCrossLinux/stage01_variables
4+
# source /home/mattias/Projekte/git/TinyCrossLinux/stage02_variables
5+
6+
cd pkg-config-0.28
7+
./configure --prefix=${CLFS}/cross-tools --target=${CLFS_TARGET} \
8+
--with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
9+
--with-internal-glib
10+
11+
make
12+
make install # DESTDIR=/tmp/install.pkg-config
13+

notes/qemu.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
source /home/mattias/Projekte/git/TinyCrossLinux/stage0n_variables
3+
source /home/mattias/Projekte/git/TinyCrossLinux/stage01_variables
4+
source /home/mattias/Projekte/git/TinyCrossLinux/stage02_variables
5+
6+
cd qemu-2.2.0
7+
./configure --prefix=/usr --cross-prefix=${CLFS_TARGET}- \
8+
--sysconfdir=/etc --libexecdir=/usr/lib/qemu \
9+
--interp-prefix=/mnt/archiv/TinyCrossBuild/cross-tools \
10+
--target-list=x86_64-softmmu,i386-linux-user,x86_64-linux-user
11+

stage01/0001_linux_headers.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source stage0n_variables
33
source stage01_variables
44

55
PKGNAME=linux-headers
6-
PKGVERSION=3.17.4
6+
PKGVERSION=3.17.6
77

88
# Download
99

stage02/0025_kernel.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source stage01_variables
44
source stage02_variables
55

66
PKGNAME=linux
7-
PKGVERSION=3.17.4
7+
PKGVERSION=3.17.6
88

99
if which bc ; then
1010
echo '---> bc found in path continuing...'
@@ -38,7 +38,7 @@ tar xvJf ${SRCDIR}/${PKGNAME}-3.17.tar.xz
3838
cd ${PKGNAME}-3.17
3939
unxz -c ${SRCDIR}/patch-${PKGVERSION}.xz | patch -p1
4040
# should be fixed in 3.17.5
41-
sed -i 's%shell objdump%shell $(OBJDUMP)%g' arch/x86/boot/compressed/Makefile
41+
# sed -i 's%shell objdump%shell $(OBJDUMP)%g' arch/x86/boot/compressed/Makefile
4242

4343
# Use the variable TINYKCONFIG to specify a custom kernel configuration!
4444
KCONFIG="${wdir}/patches/config-3.17.3"

0 commit comments

Comments
 (0)