From d176b8c10411c9da2ed8e130da8f6a5401ab1ca9 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Thu, 13 Mar 2008 01:33:15 +0000 Subject: Get rid of the ENABLE_PEGASOS_HACKS hacks Add INTEGRATED_INITRAMFS option to optionally insert the generated initramfs directly into the kernel image Change default build order to build the kernel last to facilitate the INTEGRATED_INITRAMFS option Add GENZIMAGE option and change various checks from ENABLE_PEGASOS_HACKS to GENZIMAGE git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@631 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- gen_compile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gen_compile.sh') diff --git a/gen_compile.sh b/gen_compile.sh index a200ac4b..57a093e7 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -332,7 +332,7 @@ compile_kernel() { "System.map" \ "System.map-${KNAME}-${ARCH}-${KV}" - if [ "${ENABLE_PEGASOS_HACKS}" = 'yes' ] + if isTrue "${GENZIMAGE}" then copy_image_with_preserve "kernelz" \ "${KERNEL_BINARY_2}" \ @@ -343,7 +343,7 @@ compile_kernel() { gen_die "Could not copy the kernel binary to ${TMPDIR}!" cp "System.map" "${TMPDIR}/System.map-${KNAME}-${ARCH}-${KV}" || gen_die "Could not copy System.map to ${TMPDIR}!" - if [ "${ENABLE_PEGASOS_HACKS}" = 'yes' ] + if isTrue "${GENZIMAGE}" then cp "${KERNEL_BINARY_2}" "${TMPDIR}/kernelz-${KV}" || gen_die "Could not copy the kernelz binary to ${TMPDIR}!" -- cgit v1.2.3-65-gdbad