[BUGFIX]
Hello symbols from command.h aren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
conf/powerpc-ieee1275.rmk +3 -3
@@ -16,7 +16,8 @@ DEFSYMFILES += kernel_syms.lst kernel_elf_HEADERS = boot.h cache.h device.h disk.h dl.h elf.h elfload.h \ env.h err.h file.h fs.h kernel.h misc.h mm.h net.h parser.h rescue.h \ symbol.h term.h time.h types.h powerpc/libgcc.h loader.h partition.h \ - pc_partition.h ieee1275/ieee1275.h machine/kernel.h handler.h + pc_partition.h ieee1275/ieee1275.h machine/kernel.h handler.h \ + command.h list.h symlist.c: $(addprefix include/grub/,$(kernel_elf_HEADERS)) config.h gensymlist.sh /bin/sh gensymlist.sh $(filter %.h,$^) > $@ || (rm -f $@; exit 1)
@@ -88,8 +89,7 @@ kernel_elf_SOURCES = kern/powerpc/ieee1275/startup.S kern/ieee1275/cmain.c \ kern/parser.c kern/partition.c kern/env.c kern/powerpc/dl.c \ kern/generic/millisleep.c kern/time.c \ symlist.c kern/powerpc/cache.S -kernel_elf_HEADERS = grub/powerpc/ieee1275/ieee1275.h list.h handler.h \ - command.h +kernel_elf_HEADERS += grub/powerpc/ieee1275/ieee1275.h kernel_elf_CFLAGS = $(COMMON_CFLAGS) kernel_elf_ASFLAGS = $(COMMON_ASFLAGS) kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \
Quoted 3 lines · phcoder
Hello symbols from
command.haren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?
Hi,
It's a little wired, why would powerpc-ieee1275.rmk has two kernel_elf_HEADERS in the first place ?
Signature · 1 line
Bean
Quoted 10 lines · Bean
Quoted 3 lines · phcoder
Hello symbols from
command.haren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?Hi,
It's a little wired, why would powerpc-ieee1275.rmk has two
kernel_elf_HEADERSin the first place ?
I have no idea, I was hoping that someone more familiar with build system could tell me why it's done so
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
symlist.c is generated by gensymlist.sh script so only the patch for conf/powerpc-ieee1275.rmk is really necessary.
Quoted 14 lines · phcoder
Quoted 10 lines · Bean
Quoted 3 lines · phcoder
Hello symbols from
command.haren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?Hi,
It's a little wired, why would powerpc-ieee1275.rmk has two
kernel_elf_HEADERSin the first place ?I have no idea, I was hoping that someone more familiar with build system could tell me why it's done so
Signature · 4 lines
Best Regards, Manoel Rebelo Abranches IBM Linux Technology Center Brazil
Is kernel_elf_HEADERS used for anything else than symlist.c and kernel-symlist,lst generation?
Quoted 16 lines · Manoel Rebelo Abranches
symlist.cis generated bygensymlist.shscript so only the patch for conf/powerpc-ieee1275.rmk is really necessary.Quoted 12 lines · phcoder
Quoted 9 lines · Bean
Quoted 3 lines · phcoder
Hello symbols from
command.haren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?Hi,
It's a little wired, why would powerpc-ieee1275.rmk has two
kernel_elf_HEADERSin the first place ?I have no idea, I was hoping that someone more familiar with build system could tell me why it's done so
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
Quoted 2 lines · phcoder
Is
kernel_elf_HEADERSused for anything else thansymlist.cand kernel-symlist,lst generation?
Hi,
I believe that kernel_elf_HEADERS is only used for symlist.c, so you should be able to remove the second kernel_elf_HEADERS and still compile properly.
Signature · 1 line
Bean
rgrep revealed no use for the second kernel_elf_HEADERS, so I propose to remove it altogether Is everybody comfortable with this patch? If I hear no oppositions in couple of days I'll commit it.
Quoted 20 lines · phcoder
Is
kernel_elf_HEADERSused for anything else thansymlist.cand kernel-symlist,lst generation?Quoted 16 lines · Manoel Rebelo Abranches
symlist.cis generated bygensymlist.shscript so only the patch for conf/powerpc-ieee1275.rmk is really necessary.Quoted 12 lines · phcoder
Quoted 9 lines · Bean
Quoted 3 lines · phcoder
Hello symbols from
command.haren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?Hi,
It's a little wired, why would powerpc-ieee1275.rmk has two
kernel_elf_HEADERSin the first place ?I have no idea, I was hoping that someone more familiar with build system could tell me why it's done so
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
ChangeLog +5 -0
@@ -1,3 +1,8 @@ +2009-04-03 Vladimir Serbinenko <[email protected]> + + * conf/powerpc-ieee1275 (kernel_elf_HEADERS): add list.h and command.h + remove suplicate kernel_elf_HEADERS + 2009-04-01 Pavel Roskin <[email protected]> * Makefile.in: Remove all references to MODULE_LDFLAGS, it's
conf/powerpc-ieee1275.rmk +2 -3
@@ -16,7 +16,8 @@ DEFSYMFILES += kernel_syms.lst kernel_elf_HEADERS = boot.h cache.h device.h disk.h dl.h elf.h elfload.h \ env.h err.h file.h fs.h kernel.h misc.h mm.h net.h parser.h rescue.h \ symbol.h term.h time.h types.h powerpc/libgcc.h loader.h partition.h \ - pc_partition.h ieee1275/ieee1275.h machine/kernel.h handler.h + pc_partition.h ieee1275/ieee1275.h machine/kernel.h handler.h list.h \ + command.h symlist.c: $(addprefix include/grub/,$(kernel_elf_HEADERS)) config.h gensymlist.sh /bin/sh gensymlist.sh $(filter %.h,$^) > $@ || (rm -f $@; exit 1)
@@ -87,8 +88,6 @@ kernel_elf_SOURCES = kern/powerpc/ieee1275/startup.S kern/ieee1275/cmain.c \ kern/parser.c kern/partition.c kern/env.c kern/powerpc/dl.c \ kern/generic/millisleep.c kern/time.c \ symlist.c kern/powerpc/cache.S -kernel_elf_HEADERS = grub/powerpc/ieee1275/ieee1275.h list.h handler.h \ - command.h kernel_elf_CFLAGS = $(COMMON_CFLAGS) kernel_elf_ASFLAGS = $(COMMON_ASFLAGS) kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -static-libgcc -lgcc \
Quoted 4 lines · phcoder
rgrep revealed no use for the second
kernel_elf_HEADERS, so I propose to remove it altogether
Is everybody comfortable with this patch? If I hear no oppositions in couple of days I'll commit it.
No objections. By the way, the same problems exists in sparc64-ieee1275.rmk
Please change "suplicate" to "extraneous" in ChangeLog.
Signature · 2 lines
Regards, Pavel Roskin
Commited
Quoted 25 lines · phcoder
rgrep revealed no use for the second
kernel_elf_HEADERS, so I propose to remove it altogether Is everybody comfortable with this patch? If I hear no oppositions in couple of days I'll commit it.Quoted 20 lines · phcoder
Is
kernel_elf_HEADERSused for anything else thansymlist.cand kernel-symlist,lst generation?Quoted 16 lines · Manoel Rebelo Abranches
symlist.cis generated bygensymlist.shscript so only the patch for conf/powerpc-ieee1275.rmk is really necessary.Quoted 12 lines · phcoder
Quoted 9 lines · Bean
Quoted 3 lines · phcoder
Hello symbols from
command.haren't exported correctly. Here's a bugfix. It compiles with it but I haven't checked yet if compiled binary works. Can someone familiar with build system have a look at this?Hi,
It's a little wired, why would powerpc-ieee1275.rmk has two
kernel_elf_HEADERSin the first place ?I have no idea, I was hoping that someone more familiar with build system could tell me why it's done so
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko