From 77de02685bb2aa67f8383a14643a41c682d27429 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sat, 10 Jan 2004 23:01:31 +0000 Subject: [PATCH] uname machine for parisc, etc git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@46 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- gen_compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen_compile.sh b/gen_compile.sh index 7da2325..1749cd6 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -137,7 +137,7 @@ compile_generic() { ${MAKE} ${MAKEOPTS} ${1} >> ${DEBUGFILE} 2>&1 RET=$? fi - [ "${RET}" -ne "0" ] && gen_die "compile of failed" + [ "${RET}" -ne "0" ] && gen_die "compile of ${1} failed" unset MAKE if [ "${2}" = "kernel" ] @@ -185,7 +185,9 @@ compile_modules() { print_info 1 "kernel: Starting compile of linux ${KV} modules" cd ${KERNEL_DIR} compile_generic "modules" kernel + export UNAME_MACHINE="${ARCH}" compile_generic "modules_install" kernel + unset UNAME_MACHINE } compile_kernel() { -- 2.26.2