source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/lm32/Makefile.config@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 771 bytes
Line 
1#
2# @(#) $Id: Makefile.config,v 1.14 2007/07/27 11:28:44 honda Exp $
3#
4
5TARGET ?= lm32-elf
6
7INCLUDES := $(INCLUDES) -I$(SRCDIR)/config/$(CPU)
8COPTS := $(COPTS) -g -O2
9#LDFLAGS := $(LDFLAGS)
10
11CFLAGS = $(COPTS) $(CDEFS) $(INCLUDES)
12
13#LDSCRIPT = $(CPU)/lm32elf.ld
14
15KERNEL_DIR := $(KERNEL_DIR):$(SRCDIR)/config/$(CPU)
16KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) cpu_support.o
17KERNEL_COBJS := $(KERNEL_COBJS) cpu_config.o
18
19#COPTS := $(COPTS) -mmultiply-enabled -mbarrel-shift-enabled -mdivide-enabled -msign-extend-enabled -ffunction-sections -D__lm32__
20
21START_OBJS = start.o
22
23$(START_OBJS): %.o: %.S
24 $(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
25
26$(START_OBJS:.o=.d): %.d: %.S
27 @$(PERL) $(SRCDIR)/utils/makedep -C $(CC) -O "$(CFLAGS) $(KERNEL_CFLAGS)" $< >> Makefile.depend
Note: See TracBrowser for help on using the repository browser.