Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MJRMF-0004Ws-Mr for mharc-grub-devel@gnu.org; Wed, 24 Jun 2009 08:13:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJRMD-0004Uk-4l for grub-devel@gnu.org; Wed, 24 Jun 2009 08:13:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJRM8-0004Qj-Hb for grub-devel@gnu.org; Wed, 24 Jun 2009 08:13:40 -0400 Received: from [199.232.76.173] (port=34649 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJRM8-0004Qd-AM for grub-devel@gnu.org; Wed, 24 Jun 2009 08:13:36 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:44674) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJRM7-0001td-VL for grub-devel@gnu.org; Wed, 24 Jun 2009 08:13:36 -0400 Received: by pxi6 with SMTP id 6so637929pxi.14 for ; Wed, 24 Jun 2009 05:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=v1M3PArsKdnOHNyIrD9E5j8C6ZctQxVETKzNBnlUk4A=; b=CLbJlZBtpg8E3uH2CND3O1IYxYKjSp6/ocU7EljKK/wN+MOsm1J32/pDNQ3mQ0/guW jNMnNlw338brzv+sjlOfMP0XCslbvz3517+i4hoGo4M5QRrg86lZds1+GV5j04NBWj+G mR50tfog8fsOe2iK1VxH4ChUxh4Rv9B4rULPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=dVAzC5ADZijB584gdtCGpXZP2/En2V3IRFkY9jfM5VBUyxSaBRhGTzeXfFsO1MtYrS gQKxvSb25fmVaLQaoMq0GPBu0OezOU1Ad4Z56OGt0wuTyI4SonxVGpZxDZIqxZSwjSP2 NZ758aWrdZiyQKu5x4AJYuJq8PkuTxJAdqARw= MIME-Version: 1.0 Received: by 10.115.95.20 with SMTP id x20mr2076702wal.40.1245845615042; Wed, 24 Jun 2009 05:13:35 -0700 (PDT) In-Reply-To: <20090624120651.GB1429@thorin> References: <20090624120651.GB1429@thorin> Date: Wed, 24 Jun 2009 20:13:35 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Support splitting SOURCE in multiple rmk files X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 12:13:41 -0000 On Wed, Jun 24, 2009 at 8:06 PM, Robert Millan wrote: > On Wed, Jun 24, 2009 at 04:52:26PM +0800, Bean wrote: >> diff --git a/conf/common.rmk b/conf/common.rmk >> index dc78df9..3402faf 100644 >> --- a/conf/common.rmk >> +++ b/conf/common.rmk >> @@ -2,8 +2,9 @@ >> >> =A0# For grub-mkelfimage. >> =A0bin_UTILITIES +=3D grub-mkelfimage >> -grub_mkelfimage_SOURCES =3D util/elf/grub-mkimage.c util/misc.c \ >> - =A0 =A0 util/resolve.c >> +#grub_mkelfimage_SOURCES =3D util/elf/grub-mkimage.c util/misc.c \ >> +# =A0 =A0util/resolve.c >> +grub_mkelfimage_SOURCES =3D util/elf/grub-mkimage.c util/misc.c >> =A0util/elf/grub-mkimage.c_DEPENDENCIES =3D Makefile >> >> =A0# For grub-probe. >> diff --git a/conf/i386.rmk b/conf/i386.rmk >> index 89496ae..8e9e582 100644 >> --- a/conf/i386.rmk >> +++ b/conf/i386.rmk >> @@ -1,5 +1,8 @@ >> =A0# -*- makefile -*- >> >> +bin_UTILITIES +=3D grub-mkelfimage >> +grub_mkelfimage_SOURCES =3D util/resolve.c >> + >> =A0pkglib_MODULES +=3D cpuid.mod >> =A0cpuid_mod_SOURCES =3D commands/i386/cpuid.c >> =A0cpuid_mod_CFLAGS =3D $(COMMON_CFLAGS) > > This looks very confusing. =A0If what is actually doing is append a new > string to the grub_mkelfimage_SOURCES variable, why not with "+=3D" ? > > "=3D" means override the previous value. Hi, You can use =3D or +=3D, actually the macro is used by genmk.rb to generate the rules, it's not used by Makefile itself, so no problem overriding it. > > -- > Robert Millan > > =A0The DRM opt-in fallacy: "Your data belongs to us. We will decide when = (and > =A0how) you may access your data; but nobody's threatening your freedom: = we > =A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Bean