All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Support for including *.mk files
Date: Fri, 18 Nov 2005 14:47:45 +0100	[thread overview]
Message-ID: <87psoy3w5a.fsf@student.han.nl> (raw)
In-Reply-To: <200511171925.42940.T.E.Baldwin99@members.leeds.ac.uk> (Timothy Baldwin's message of "Thu, 17 Nov 2005 19:25:34 +0000")

Timothy Baldwin <tim.lists@majoroak.f2s.com> writes:

> On Wednesday 16 Nov 2005 06:49, Marco Gerards wrote:
>> Timothy Baldwin <tim.lists@majoroak.f2s.com> writes:
>> > On Sunday 13 Nov 2005 21:16, Marco Gerards wrote:
>> >> It would be nice if you can
>> >> send in the patch that actually splits up the rmk files so I can see
>> >> why you made some changes in this patch.
>> >
>> > Here it is, and I have included the previous patch, as the tabs got
>> > changed to spaces.
>>
>> Nice!  Can you include the changelog entry for the second patch?
>
> Here it is, with revised patch as I split out to much.

It doesn't compile.  I was about to commit it, but I had the following
problem:

ccache gcc-4.0 -Iutil -I./util -I. -Iinclude -I./include -Wall -W -DGRUB_DATADIR=\"/usr/local/share/grub/i386-pc\" -g -O2 -DGRUB_UTIL=1  -c -o genmoddep-util_genmoddep.o util/genmoddep.c
ccache gcc-4.0 -o genmoddep genmoddep-util_genmoddep.o  
cat kernel_syms.lst def-_chain.lst def-chain.lst def-_linux.lst def-linux.lst def-normal.lst def-reboot.lst def-halt.lst def-vga.lst def-_multiboot.lst def-multiboot.lst def-vbe.lst def-vesafb.lst def-vbeinfo.lst def-vbetest.lst /dev/null | ./genmoddep und-_chain.lst und-chain.lst und-_linux.lst und-linux.lst und-normal.lst und-reboot.lst und-halt.lst und-vga.lst und-_multiboot.lst und-multiboot.lst und-vbe.lst und-vesafb.lst und-vbeinfo.lst und-vbetest.lst > moddep.lst \
  || (rm -f moddep.lst; exit 1)
genmoddep: error: grub_font_get_glyph in vga is not defined
make: *** [moddep.lst] Error 1

It seems that the -def.lst files are not correctly generated and/or
used.  Can you please fix that.

I have changed your ChangeLog a bit.  I'm including that so you can
build on that for the next patch.

2005-11-18  Timothy Baldwin  <T.E.Baldwin99@members.leeds.ac.uk>

	* Makefile.in (RMKFILES): Add common.rmk and sparc64-ieee1275.rmk.

	* conf/common.rmk: New file.

	* conf/i386-pc.rmk: Include conf/common.mk.
	(pkgdata_MODULES): Removed fshelp.mod, fat.mod, ext2.mod, ufs.mod,
	minux.mod, hfs.mod, jfs.mod, xfs.mod, affs.mod, sfs.mod,
	hello.mod, boot.mod, terminal.mod, ls.mod, cmp.mod, cat.mod,
	help.mod, font.mod, terminfo.mod, amiga.mod, apple.mod, pc.mod,
	sun.mod, acorn.mod, loopback.mod, default.mod, timeout.mod,
	configfile.mod, search.mod, gzio.mod and test.mod.
	(symlist.c, grub_script.tab.c, grub_script.tab.h, kernel_syms.lst)
	(grub_modules_init.lst, grub_modules_init.h, grub_emu_init.c,
	(fshelp_mod_SOURCES, fshelp_mod_CFLAGS, fshelp_mod_LDFLAGS)
	(fat_mod_SOURCES, fat_mod_CFLAGS, fat_mod_LDFLAGS)
	(ext2_mod_SOURCES, ext2_mod_CFLAGS, ext2_mod_LDFLAGS)
	(ufs_mod_SOURCES, ufs_mod_CFLAGS, ufs_mod_LDFLAGS)
	(minix_mod_SOURCES, minix_mod_CFLAGS, minix_mod_LDFLAGS)
	(hfs_mod_SOURCES, hfs_mod_CFLAGS, hfs_mod_LDFLAGS, jfs_mod_SOURCES)
	(jfs_mod_CFLAGS, jfs_mod_LDFLAGS, iso9660_mod_SOURCES)
	(iso9660_mod_CFLAGS, iso9660_mod_LDFLAGS, xfs_mod_SOURCES)
	(xfs_mod_CFLAGS, xfs_mod_LDFLAGS, affs_mod_SOURCES)
	(affs_mod_CFLAGS, affs_mod_LDFLAGS, sfs_mod_SOURCES)
	(sfs_mod_CFLAGS, sfs_mod_LDFLAGS, hello_mod_SOURCES)
	(hello_mod_CFLAGS, hello_mod_LDFLAGS, boot_mod_SOURCES)
	(boot_mod_CFLAGS, boot_mod_LDFLAGS, terminal_mod_SOURCES)
	(terminal_mod_CFLAGS, terminal_mod_LDFLAGS, ls_mod_SOURCES)
	(ls_mod_CFLAGS, ls_mod_LDFLAGS, cmp_mod_SOURCES, cmp_mod_CFLAGS)
	(cmp_mod_LDFLAGS, cat_mod_SOURCES, cat_mod_CFLAGS, cat_mod_LDFLAGS)
	(help_mod_SOURCES, help_mod_CFLAGS, help_mod_LDFLAGS)
	(font_mod_SOURCES, font_mod_CFLAGS, font_mod_LDFLAGS)
	(terminfo_mod_SOURCES, terminfo_mod_CFLAGS, terminfo_mod_LDFLAGS)
	(amiga_mod_SOURCES, amiga_mod_CFLAGS, amiga_mod_LDFLAGS)
	(apple_mod_SOURCES, apple_mod_CFLAGS, apple_mod_LDFLAG): Move from
	here...
	* conf/common.rmk: ... to here.  New file.

Thanks,
Marco




  parent reply	other threads:[~2005-11-18 13:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-13 21:06 Support for including *.mk files Timothy Baldwin
2005-11-13 21:16 ` Marco Gerards
2005-11-15 22:13   ` Timothy Baldwin
2005-11-16  6:49     ` Marco Gerards
2005-11-17 19:25       ` Timothy Baldwin
2005-11-17 19:30         ` Marco Gerards
2005-11-18 10:58           ` Yoshinori K. Okuji
2005-11-18 13:47         ` Marco Gerards [this message]
2005-11-18 14:14           ` Timothy Baldwin
2005-11-18 14:58             ` Marco Gerards

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=87psoy3w5a.fsf@student.han.nl \
    --to=metgerards@student.han.nl \
    --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.