2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# -*- makefile -*-
|
|
|
|
|
2005-10-23 21:01:19 +00:00
|
|
|
COMMON_ASFLAGS = -nostdinc
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
COMMON_CFLAGS = -ggdb -ffreestanding -m64 -mno-app-regs
|
2006-04-21 00:47:11 +00:00
|
|
|
COMMON_LDFLAGS = -melf64_sparc -nostdlib
|
2005-08-21 18:42:55 +00:00
|
|
|
|
2008-02-01 15:45:17 +00:00
|
|
|
# Used by various components. These rules need to precede them.
|
2008-02-24 15:06:30 +00:00
|
|
|
normal/lexer.c_DEPENDENCIES = grub_script.tab.h
|
2008-02-01 15:45:17 +00:00
|
|
|
|
2005-08-21 18:42:55 +00:00
|
|
|
# Images.
|
|
|
|
|
2008-06-19 01:04:59 +00:00
|
|
|
MOSTLYCLEANFILES += symlist.c kernel_syms.lst
|
2005-08-21 18:42:55 +00:00
|
|
|
DEFSYMFILES += kernel_syms.lst
|
|
|
|
|
2006-11-03 20:28:04 +00:00
|
|
|
kernel_elf_HEADERS = arg.h 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 \
|
2007-10-22 19:59:33 +00:00
|
|
|
symbol.h term.h time.h types.h sparc64/libgcc.h loader.h partition.h \
|
|
|
|
pc_partition.h ieee1275/ieee1275.h machine/kernel.h
|
2005-08-21 18:42:55 +00:00
|
|
|
|
2008-06-19 01:04:59 +00:00
|
|
|
symlist.c: $(addprefix include/grub/,$(kernel_elf_HEADERS)) config.h gensymlist.sh
|
2006-04-26 21:58:36 +00:00
|
|
|
/bin/sh gensymlist.sh $(filter %.h,$^) > $@ || (rm -f $@; exit 1)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
# For the parser.
|
2005-11-18 10:51:00 +00:00
|
|
|
grub_script.tab.c grub_script.tab.h: normal/parser.y
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
$(YACC) -d -p grub_script_yy -b grub_script $(srcdir)/normal/parser.y
|
|
|
|
|
2006-05-08 21:47:20 +00:00
|
|
|
kernel_syms.lst: $(addprefix include/grub/,$(kernel_elf_HEADERS)) config.h genkernsyms.sh
|
2006-04-26 21:58:36 +00:00
|
|
|
/bin/sh genkernsyms.sh $(filter %.h,$^) > $@ || (rm -f $@; exit 1)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# Programs
|
2007-12-25 09:09:43 +00:00
|
|
|
pkglib_PROGRAMS = kernel.elf
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# Utilities.
|
2006-12-13 22:30:19 +00:00
|
|
|
#bin_UTILITIES = grub-mkimage
|
|
|
|
#ifeq ($(enable_grub_emu), yes)
|
|
|
|
#bin_UTILITIES += grub-emu
|
|
|
|
#endif
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For grub-mkimage.
|
|
|
|
grub_mkimage_SOURCES = util/sparc64/ieee1275/grub-mkimage.c util/misc.c \
|
|
|
|
util/resolve.c
|
|
|
|
|
|
|
|
# For grub-emu
|
|
|
|
#grub_emu_SOURCES = commands/boot.c commands/cat.c commands/cmp.c \
|
|
|
|
# commands/configfile.c commands/default.c commands/help.c \
|
|
|
|
# commands/search.c commands/terminal.c commands/ls.c \
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
# commands/timeout.c commands/test.c \
|
2008-02-19 07:33:41 +00:00
|
|
|
# commands/halt.c commands/reboot.c \
|
2005-08-21 18:42:55 +00:00
|
|
|
# disk/loopback.c \
|
2009-02-09 18:00:36 +00:00
|
|
|
# fs/affs.c fs/fat.c fs/ext2.c fs/fshelp.c fs/hfs.c fs/iso9660.c \
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
# fs/jfs.c fs/minix.c fs/sfs.c fs/ufs.c fs/xfs.c \
|
|
|
|
# grub_script.tab.c \
|
|
|
|
# io/gzio.c \
|
2005-08-21 18:42:55 +00:00
|
|
|
# kern/device.c kern/disk.c kern/dl.c kern/env.c kern/err.c \
|
|
|
|
# kern/file.c kern/fs.c kern/loader.c kern/main.c kern/misc.c \
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
# kern/parser.c kern/partition.c kern/rescue.c kern/term.c \
|
|
|
|
# normal/arg.c normal/cmdline.c normal/command.c \
|
|
|
|
# normal/completion.c normal/context.c normal/execute.c \
|
|
|
|
# normal/function.c normal/lexer.c \
|
2009-02-03 13:22:26 +00:00
|
|
|
# normal/main.c normal/menu.c normal/menu_entry.c \
|
2009-02-13 20:06:27 +00:00
|
|
|
# normal/menu_text.c \
|
2009-02-03 13:34:52 +00:00
|
|
|
# normal/menu_viewer.c normal/misc.c \
|
2005-08-21 18:42:55 +00:00
|
|
|
# partmap/amiga.c partmap/apple.c partmap/pc.c partmap/sun.c \
|
2005-11-13 19:45:12 +00:00
|
|
|
# partmap/acorn.c \
|
2005-08-21 18:42:55 +00:00
|
|
|
# util/console.c util/grub-emu.c util/misc.c \
|
2009-02-03 13:22:26 +00:00
|
|
|
# util/hostdisk.c util/getroot.c \
|
2005-08-21 18:42:55 +00:00
|
|
|
# util/sparc64/ieee1275/misc.c
|
|
|
|
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
grub_emu_LDFLAGS = $(LIBCURSES)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
2006-05-08 21:47:20 +00:00
|
|
|
kernel_elf_SOURCES = kern/sparc64/ieee1275/init.c kern/ieee1275/ieee1275.c \
|
2005-08-21 19:33:14 +00:00
|
|
|
kern/main.c kern/device.c kern/disk.c kern/dl.c kern/file.c \
|
|
|
|
kern/fs.c kern/err.c kern/misc.c kern/mm.c kern/loader.c \
|
|
|
|
kern/rescue.c kern/term.c term/ieee1275/ofconsole.c \
|
2005-08-21 18:42:55 +00:00
|
|
|
kern/sparc64/ieee1275/openfw.c disk/ieee1275/ofdisk.c \
|
2008-06-19 01:04:59 +00:00
|
|
|
kern/partition.c kern/env.c kern/sparc64/dl.c symlist.c \
|
2008-08-05 11:54:37 +00:00
|
|
|
kern/generic/millisleep.c kern/generic/get_time_ms.c \
|
2005-10-24 10:23:46 +00:00
|
|
|
kern/sparc64/cache.S kern/parser.c
|
2006-05-08 21:47:20 +00:00
|
|
|
kernel_elf_HEADERS = grub/sparc64/ieee1275/ieee1275.h
|
|
|
|
kernel_elf_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
kernel_elf_ASFLAGS = $(COMMON_ASFLAGS)
|
|
|
|
kernel_elf_LDFLAGS = -mno-app-regs -nostdlib -Wl,-N,-Ttext,0x200000,-Bstatic,-melf64_sparc
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# Modules.
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
#_linux.mod linux.mod
|
2007-12-25 09:09:43 +00:00
|
|
|
pkglib_MODULES = fat.mod ufs.mod ext2.mod minix.mod \
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
hfs.mod jfs.mod normal.mod hello.mod font.mod ls.mod \
|
|
|
|
boot.mod cmp.mod cat.mod terminal.mod fshelp.mod amiga.mod apple.mod \
|
|
|
|
pc.mod suspend.mod loopback.mod help.mod reboot.mod halt.mod sun.mod \
|
2006-05-07 Yoshinori K. Okuji <okuji@enbug.org>
Use the environment context in the menu. Remove the commands
"default" and "timeout", and use variables instead.
* normal/menu.c: Include grub/env.h.
(print_entry): Cast TITLE to silence gcc.
(get_timeout): New function.
(set_timeout): Likewise.
(get_entry_number): Likewise.
(run_menu): Use a default entry, a fallback entry and a timeout
in the environment variables "default", "fallback" and
"timeout". Also, tweak the default entry if it is not within the
current menu entries.
(grub_menu_run): Use a fallback entry in the environment variable
"fallback".
* normal/main.c (read_config_file): Do not initialize
NEWMENU->DEFAULT_ENTRY, NEWMENU->FALLBACK_ENTRY or
NEWMENU->TIMEOUT.
(grub_normal_execute): Use a data slot to store the menu.
* include/grub/normal.h (struct grub_menu): Removed default_entry,
fallback_entry and timeout.
(struct grub_menu_list): Removed.
(grub_menu_list_t): Likewise.
(struct grub_context): Likewise.
(grub_context_t): Likewise.
(grub_context_get): Likewise.
(grub_context_get_current_menu): Likewise.
(grub_context_push_menu): Likewise.
(grub_context_pop_menu): Likewise.
(grub_default_init): Likewise.
(grub_default_fini): Likewise.
(grub_timeout_init): Likewise.
(grub_timeout_fini): Likewise.
* conf/sparc64-ieee1275.rmk (pkgdata_MODULES): Removed default.mod
and timeout.mod.
(normal_mod_SOURCES): Removed normal/context.c.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Removed
commands/default.c, commands/timeout.c and normal/context.c.
(normal_mod_SOURCES): Removed normal/context.c.
* conf/i386-pc.rmk (grub_emu_SOURCES): Removed commands/default.c,
commands/timeout.c and normal/context.c.
(normal_mod_SOURCES): Removed normal/context.c.
* conf/i386-efi.rmk (grub_emu_SOURCES): Removed
commands/default.c, commands/timeout.c and normal/context.c.
(normal_mod_SOURCES): Removed normal/context.c.
* conf/common.rmk (pkgdata_MODULES): Removed default.mod and
timeout.mod.
(default_mod_SOURCES): Removed.
(default_mod_CFLAGS): Likewise.
(default_mod_LDFLAGS): Likewise.
(timeout_mod_SOURCES): Removed.
(timeout_mod_CFLAGS): Likewise.
(timeout_mod_LDFLAGS): Likewise.
* DISTLIST: Removed commands/default.c, commands/timeout.c and
normal/context.c.
* commands/default.c: Removed.
* commands/timeout.c: Likewise.
* normal/context.c: Likewise.
2006-05-07 18:28:24 +00:00
|
|
|
configfile.mod search.mod gzio.mod xfs.mod \
|
2005-11-13 19:45:12 +00:00
|
|
|
affs.mod sfs.mod acorn.mod
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For fshelp.mod.
|
|
|
|
fshelp_mod_SOURCES = fs/fshelp.c
|
|
|
|
fshelp_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
fshelp_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For fat.mod.
|
|
|
|
fat_mod_SOURCES = fs/fat.c
|
|
|
|
fat_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
fat_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For ext2.mod.
|
|
|
|
ext2_mod_SOURCES = fs/ext2.c
|
|
|
|
ext2_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
ext2_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For ufs.mod.
|
|
|
|
ufs_mod_SOURCES = fs/ufs.c
|
|
|
|
ufs_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
ufs_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For minix.mod.
|
|
|
|
minix_mod_SOURCES = fs/minix.c
|
|
|
|
minix_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
minix_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For hfs.mod.
|
|
|
|
hfs_mod_SOURCES = fs/hfs.c
|
|
|
|
hfs_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
hfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For jfs.mod.
|
|
|
|
jfs_mod_SOURCES = fs/jfs.c
|
|
|
|
jfs_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
jfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For iso9660.mod.
|
|
|
|
iso9660_mod_SOURCES = fs/iso9660.c
|
|
|
|
iso9660_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
iso9660_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
|
|
|
# For xfs.mod.
|
|
|
|
xfs_mod_SOURCES = fs/xfs.c
|
|
|
|
xfs_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
xfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
|
|
|
# For affs.mod.
|
|
|
|
affs_mod_SOURCES = fs/affs.c
|
|
|
|
affs_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
affs_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
|
|
|
# For sfs.mod.
|
|
|
|
sfs_mod_SOURCES = fs/sfs.c
|
|
|
|
sfs_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
sfs_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For _linux.mod.
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
#_linux_mod_SOURCES = loader/sparc64/ieee1275/linux.c
|
|
|
|
#_linux_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
#_linux_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For linux.mod.
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
#linux_mod_SOURCES = loader/sparc64/ieee1275/linux_normal.c
|
|
|
|
#linux_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
#linux_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
2009-01-31 09:15:43 +00:00
|
|
|
#
|
|
|
|
# Only arch dependant part of normal.mod will be here. Common part for
|
|
|
|
# all architecures of normal.mod is at start and should be kept at sync
|
|
|
|
# with other makefiles.
|
|
|
|
#
|
|
|
|
# Please put arch dependant part of normal.mod at the end of list to
|
|
|
|
# keep it simpler to update to different architectures.
|
|
|
|
#
|
2005-08-21 18:42:55 +00:00
|
|
|
normal_mod_SOURCES = normal/arg.c normal/cmdline.c normal/command.c \
|
2009-01-31 09:15:43 +00:00
|
|
|
normal/completion.c normal/execute.c \
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
normal/function.c normal/lexer.c normal/main.c normal/menu.c \
|
2009-02-13 20:06:27 +00:00
|
|
|
normal/menu_text.c \
|
2009-01-31 09:15:43 +00:00
|
|
|
normal/color.c \
|
|
|
|
normal/menu_viewer.c normal/menu_entry.c \
|
|
|
|
normal/misc.c grub_script.tab.c \
|
|
|
|
normal/script.c \
|
|
|
|
normal/sparc64/setjmp.S
|
2005-08-21 18:42:55 +00:00
|
|
|
normal_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
normal_mod_ASFLAGS = $(COMMON_ASFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
normal_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For hello.mod.
|
|
|
|
hello_mod_SOURCES = hello/hello.c
|
|
|
|
hello_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
hello_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For boot.mod.
|
|
|
|
boot_mod_SOURCES = commands/boot.c
|
|
|
|
boot_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
boot_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For terminal.mod.
|
|
|
|
terminal_mod_SOURCES = commands/terminal.c
|
|
|
|
terminal_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
terminal_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For ls.mod.
|
|
|
|
ls_mod_SOURCES = commands/ls.c
|
|
|
|
ls_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
ls_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For cmp.mod.
|
|
|
|
cmp_mod_SOURCES = commands/cmp.c
|
|
|
|
cmp_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
cmp_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For cat.mod.
|
|
|
|
cat_mod_SOURCES = commands/cat.c
|
|
|
|
cat_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
cat_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For font.mod.
|
|
|
|
font_mod_SOURCES = font/manager.c
|
|
|
|
font_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
font_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For amiga.mod
|
|
|
|
amiga_mod_SOURCES = partmap/amiga.c
|
|
|
|
amiga_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
amiga_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For apple.mod
|
|
|
|
apple_mod_SOURCES = partmap/apple.c
|
|
|
|
apple_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
apple_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For pc.mod
|
|
|
|
pc_mod_SOURCES = partmap/pc.c
|
|
|
|
pc_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
pc_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For sun.mod
|
|
|
|
sun_mod_SOURCES = partmap/sun.c
|
|
|
|
sun_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
sun_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
2005-11-13 19:45:12 +00:00
|
|
|
# For acorn.mod
|
|
|
|
acorn_mod_SOURCES = partmap/acorn.c
|
|
|
|
acorn_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
|
2005-08-21 18:42:55 +00:00
|
|
|
# For loopback.mod
|
|
|
|
loopback_mod_SOURCES = disk/loopback.c
|
|
|
|
loopback_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
loopback_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For suspend.mod
|
|
|
|
suspend_mod_SOURCES = commands/ieee1275/suspend.c
|
|
|
|
suspend_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
suspend_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For reboot.mod
|
2008-02-19 07:33:41 +00:00
|
|
|
reboot_mod_SOURCES = commands/reboot.c
|
2005-08-21 18:42:55 +00:00
|
|
|
reboot_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
reboot_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For halt.mod
|
2008-02-19 07:33:41 +00:00
|
|
|
halt_mod_SOURCES = commands/halt.c
|
2005-08-21 18:42:55 +00:00
|
|
|
halt_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
halt_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For help.mod.
|
|
|
|
help_mod_SOURCES = commands/help.c
|
|
|
|
help_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
help_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For default.mod
|
|
|
|
default_mod_SOURCES = commands/default.c
|
|
|
|
default_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
default_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For timeout.mod
|
|
|
|
timeout_mod_SOURCES = commands/timeout.c
|
|
|
|
timeout_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
timeout_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For configfile.mod
|
|
|
|
configfile_mod_SOURCES = commands/configfile.c
|
|
|
|
configfile_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
configfile_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-08-21 18:42:55 +00:00
|
|
|
|
|
|
|
# For search.mod.
|
|
|
|
search_mod_SOURCES = commands/search.c
|
|
|
|
search_mod_CFLAGS = $(COMMON_CFLAGS)
|
2005-10-23 Vincent Pelletier <subdino2004@yahoo.fr>
* kern/sparc64/dl.c: Rewritten for SPARCV9 ELF.
* kern/sparc64/cache.S: New file.
* kern/sparc64/cache.c: Removed.
* conf/sparc64-ieee1275.rmk (COMMON_ASFLAGS): Add -Av9.
(COMMON_CFLAGS): Add -mno-app-regs. Remove -mcpu=v9 and
-mtune=ultrasparc.
(COMMON_LDFLAGS): Add -melf64_sparc.
(grubof_HEADERS): Add sparc64/libgcc.h and machine/kernel.h.
(grubof_SOURCES): Use cache.S instead of cache.c.
(grubof_LDFLAGS): Add -mno-app-regs. Replace "-Xlinker
--oformat -Xlinker elf64-sparc" by "-Bstatic,-melf64_sparc".
(pkgdata_MODULES): Uncomment. Leave linux.mod and _linux.mod
commented though.
(normal_mod_SOURCES): Add normal/completion.c and normal/misc.c.
(_linux_mod_SOURCES, _linux_mod_CFLAGS, linux_mod_SOURCES)
(linux_mod_CFLAGS): Commented out.
(_linux_mod_LDFLAGS, linux_mod_LDFLAGS): New macro, commented
out because module isn't built.
(fshelp_mod_LDFLAGS, fat_mod_LDFLAGS, ext2_mod_LDFLAGS)
(ufs_mod_LDFLAGS, minix_mod_LDFLAGS, hfs_mod_LDFLAGS)
(jfs_mod_LDFLAGS, iso9660_mod_LDFLAGS, normal_mod_LDFLAGS)
(hello_mod_LDFLAGS, boot_mod_LDFLAGS, terminal_mod_LDFLAGS)
(ls_mod_LDFLAGS, cmp_mod_LDFLAGS, cat_mod_LDFLAGS)
(font_mod_LDFLAGS, amiga_mod_LDFLAGS, apple_mod_LDFLAGS)
(pc_mod_LDFLAGS, sun_mod_LDFLAGS, loopback_mod_LDFLAGS)
(suspend_mod_LDFLAGS, reboot_mod_LDFLAGS, halt_mod_LDFLAGS)
(help_mod_LDFLAGS, default_mod_LDFLAGS, timeout_mod_LDFLAGS)
(configfile_mod_LDFLAGS, search_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, gzio_mod_SOURCES)
(gzio_mod_CFLAGS, gzio_mod_LDFLAGS): New macro.
2005-10-23 19:28:28 +00:00
|
|
|
search_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
|
|
|
|
|
|
|
# For gzio.mod.
|
|
|
|
gzio_mod_SOURCES = io/gzio.c
|
|
|
|
gzio_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
gzio_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
2005-11-07 Vincent Pelletier <subdino2004@yahoo.fr>
* conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add
`commands/test.c', `fs/affs.c', `fs/sfs.c', `fs/xfs.c',
`normal/execute.c', `normal/lexer.c', `io/gzio.c',
`kern/parser.c', `grub_script.tab.c', `normal/function.c'
and `normal/script.c'.
(normal_mod_SOURCES): `normal/execute.c', `normal/lexer.c',
`grub_script.tab.c', `normal/function.c' and `normal/script.c'.
(test_mod_SOURCES): New variable.
(test_mod_CFLAGS): Likewise.
(test_mod_LDFLAGS): Likewise.
(pkgdata_MODULES): Add `test.mod'.
(grub_script.tab.c): New rule.
(grub_script.tab.h): Likewise.
2005-11-07 22:28:57 +00:00
|
|
|
|
|
|
|
# For test.mod.
|
|
|
|
test_mod_SOURCES = commands/test.c
|
|
|
|
test_mod_CFLAGS = $(COMMON_CFLAGS)
|
|
|
|
test_mod_LDFLAGS = $(COMMON_LDFLAGS)
|