From 1b7e53019d60f21c9da6e1f7d7d744e118563702 Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 3 Feb 2010 15:10:09 +0100 Subject: [PATCH] build.sh: integrate kernel and bootloader build Signed-off-by: Marc Andre Tanner --- build.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 7e80eea..fe898a3 100755 --- a/build.sh +++ b/build.sh @@ -39,6 +39,8 @@ then exit fi +# build initramfs content + build_package linux-headers build_package uClibc build_package busybox @@ -55,4 +57,13 @@ build_package ecore build_package qi-bootmenu build_package dropbear -echo "Build complete now run ./initramfs.sh" +# copy the the root-overlay drectory over the initramfs and generate +# a file called 'initramfs-files' which can be specified as +# CONFIG_INITRAMFS_SOURCE during the kernel build + +cd "$TOP" && ./initramfs.sh + +# build kernel which embedds the previously built initramfs content + +build_package kernel +build_package qi -- 2.11.4.GIT