All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] add elfXX.c as extra_dist to grub-core/Makefile.core.def
Date: Tue, 09 Apr 2013 13:25:26 +0200	[thread overview]
Message-ID: <5163FAA6.1000308@gmail.com> (raw)
In-Reply-To: <20130409065822.156b669f@opensuse.site>

[-- Attachment #1: Type: text/plain, Size: 2686 bytes --]

On 09.04.2013 04:58, Andrey Borzenkov wrote:

> В Sun,  7 Apr 2013 00:22:33 +0400
> Andrey Borzenkov <arvidjaar@gmail.com> пишет:
> 
>> [  327s] gcc -E -DGRUB_LST_GENERATOR -Dgrub_fs_register=FS_LIST_MARKER -Dgrub_video_register=VIDEO_LIST_MARKER -Dgrub_parttool_register=PARTTOOL_LIST_MARKER -Dgrub_partition_map_register=PARTMAP_LIST_MARKER \
>> '-Dgrub_term_register_input(...)=INPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' '-Dgrub_term_register_output(...)=OUTPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' '-Dgrub_register_command(...)=COMMAND_LIST_MARKER(__VA_ARGS__)' '-Dgrub_register_extcmd(...)=EXTCOMMAND_LIST_MARKER(__VA_ARGS__)' '-Dgrub_register_command_p1(...)=P1COMMAND_LIST_MARKER(__VA_ARGS__)' \
>> -DHAVE_CONFIG_H -I. -I../../grub-core -I..  -Wall -W -I../../include -I../include  -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=X86_64_EFI -DGRUB_TARGET_CPU_X86_64=1 -m64 -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.7/include -DGRUB_FILE=\"kern/elf.c\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../../grub-core/lib/libgcrypt-grub/include -I../../grub-core/lib/libgcrypt-grub/src/     ../../grub-core/kern/elf.c > elf.marker.new || (rm -f elf.marker; exit 1)
>> [  327s] ../../grub-core/kern/elf.c:132:19: fatal error: elfXX.c: No such file or directory
>>
> 
> Ping. This makes it impossible to compile from dist tarball.

Pong? It's already committed

> 
> I wish we had something like extra_deps instead (to correctly trigger
> make when included file changes) but I'm not yet sure about proper make
> magic.
> 
>> Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
>>
>> ---
>>  ChangeLog                   | 5 +++++
>>  grub-core/Makefile.core.def | 2 ++
>>  2 files changed, 7 insertions(+)
>>
>> diff --git a/ChangeLog b/ChangeLog
>> index 9163911..486271b 100644
>> --- a/ChangeLog
>> +++ b/ChangeLog
>> @@ -1,3 +1,8 @@
>> +2013-04-07  Andrey Borzenkov <arvidjaar@gmail.com>
>> +
>> +	* grub-core/Makefile.core.def: Add kern/elfXX.c to elf module
>> +	as extra_dist.
>> +
>>  2013-04-06  Andrey Borzenkov <arvidjaar@gmail.com>
>>  
>>  	* conf/Makefile.extra-dist (EXTRA_DIST): Add
>> diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
>> index 4b4c024..fece882 100644
>> --- a/grub-core/Makefile.core.def
>> +++ b/grub-core/Makefile.core.def
>> @@ -1316,6 +1316,8 @@ module = {
>>  module = {
>>    name = elf;
>>    common = kern/elf.c;
>> +
>> +  extra_dist = kern/elfXX.c;
>>  };
>>  
>>  module = {
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

      reply	other threads:[~2013-04-09 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-06 20:22 [PATCH] add elfXX.c as extra_dist to grub-core/Makefile.core.def Andrey Borzenkov
2013-04-09  2:58 ` Andrey Borzenkov
2013-04-09 11:25   ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5163FAA6.1000308@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.