On Thu, May 29, 2008 at 01:52:15PM +0800, Bean wrote: > + > +COMMON_ASFLAGS = -nostdinc -fno-builtin -m64 > +COMMON_CFLAGS = -fno-builtin -m64 > +COMMON_LDFLAGS = -melf_x86_64 -nostdlib
How much does this file differ from its i386 version? If it's just a few flags, we could solve this with variables passed on from the caller. > + normal/script.c normal/x86_64/setjmp.S normal/color.c ... and #ifdefs in normal/i386/setjmp.S and the like? Maintaining so many duplicated stuff in *.rmk is starting to become a PITA (not that I know of any good solution for that ... :-/) -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What good is a phone call… if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel