From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QZQog-000459-78 for garchives@archives.gentoo.org; Wed, 22 Jun 2011 17:02:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D4EF1C29E; Wed, 22 Jun 2011 17:01:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1CDDE1C29E for ; Wed, 22 Jun 2011 17:01:22 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9B5B1B4008 for ; Wed, 22 Jun 2011 17:01:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A493380040 for ; Wed, 22 Jun 2011 17:01:20 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <381ec0cee4f0df060be1ca8d864f1db587ab7eb7.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_compile.sh gen_configkernel.sh X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 381ec0cee4f0df060be1ca8d864f1db587ab7eb7 Date: Wed, 22 Jun 2011 17:01:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 56ebbf999e7d9ed8d662eab4886cb3f5 commit: 381ec0cee4f0df060be1ca8d864f1db587ab7eb7 Author: Sebastian Pipping pipping org> AuthorDate: Wed Jun 22 16:57:45 2011 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Wed Jun 22 16:57:45 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D381ec0ce Refactoring: Rename mode runtask to kernelruntask --- gen_compile.sh | 6 +++--- gen_configkernel.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gen_compile.sh b/gen_compile.sh index 281d672..9f3801c 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -232,7 +232,7 @@ compile_generic() { local argstype=3D${2} =20 case "${argstype}" in - kernel|runtask) + kernel|kernelruntask) export_kernel_args MAKE=3D${KERNEL_MAKE} ;; @@ -245,14 +245,14 @@ compile_generic() { case "${argstype}" in kernel) ARGS=3D"`compile_kernel_args`" ;; utils) ARGS=3D"`compile_utils_args`" ;; - *) ARGS=3D"" ;; # includes runtask + *) ARGS=3D"" ;; # includes kernelruntask esac shift 2 =20 # the eval usage is needed in the next set of code # as ARGS can contain spaces and quotes, eg: # ARGS=3D'CC=3D"ccache gcc"' - if [ "${argstype}" =3D=3D 'runtask' ] + if [ "${argstype}" =3D=3D 'kernelruntask' ] then # Silent operation, forced -j1 print_info 2 "COMMAND: ${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1= 0 1 diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 2e0737f..284f800 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -76,7 +76,7 @@ config_kernel() { if isTrue ${MENUCONFIG} then print_info 1 'kernel: >> Invoking menuconfig...' - compile_generic menuconfig runtask + compile_generic menuconfig kernelruntask [ "$?" ] || gen_die 'Error: menuconfig failed!' elif isTrue ${CMD_GCONFIG} then