grub/conf/mips.rmk

34 lines
936 B
Text
Raw Normal View History

2009-10-09 17:50:31 +00:00
# -*- makefile -*-
2010-02-10 00:39:23 +00:00
COMMON_CFLAGS += -mexplicit-relocs -mflush-func=grub_cpu_flush_cache
2009-10-09 17:50:31 +00:00
# Images.
2010-02-10 00:05:40 +00:00
kernel_img_HEADERS += cpu/libgcc.h cpu/cache.h
2009-10-09 17:50:31 +00:00
# Scripts.
2009-10-10 11:30:14 +00:00
sbin_SCRIPTS =
bin_SCRIPTS =
2009-10-09 17:50:31 +00:00
2009-10-18 13:04:14 +00:00
# For grub-mkimage.
bin_UTILITIES += grub-mkimage
2009-11-22 01:55:07 +00:00
grub_mkimage_SOURCES = gnulib/progname.c util/grub-mkrawimage.c util/misc.c \
2009-10-18 13:04:14 +00:00
util/resolve.c lib/LzmaEnc.c lib/LzFind.c
2009-10-24 10:43:49 +00:00
grub_mkimage_CFLAGS = -DGRUB_KERNEL_MACHINE_LINK_ADDR=$(LINK_BASE)
2009-12-05 17:46:28 +00:00
util/grub-mkrawimage.c_DEPENDENCIES = Makefile
2009-10-18 13:04:14 +00:00
2009-10-11 00:07:52 +00:00
# For serial.mod.
pkglib_MODULES += serial.mod
serial_mod_SOURCES = term/serial.c
serial_mod_CFLAGS = $(COMMON_CFLAGS)
serial_mod_LDFLAGS = $(COMMON_LDFLAGS)
2009-10-11 21:00:22 +00:00
# For relocator.mod.
pkglib_MODULES += relocator.mod
relocator_mod_SOURCES = lib/$(target_cpu)/relocator.c lib/$(target_cpu)/relocator_asm.S
relocator_mod_CFLAGS = $(COMMON_CFLAGS)
relocator_mod_ASFLAGS = $(COMMON_ASFLAGS)
relocator_mod_LDFLAGS = $(COMMON_LDFLAGS)
2009-10-09 17:50:31 +00:00
include $(srcdir)/conf/common.mk