Warning, /bsps/i386/pc386/config/pc386.cfg is written in an unsupported language. File is not indexed.
0001 #
0002 # Config file for the PC 386 BSP
0003 #
0004
0005 include $(RTEMS_ROOT)/make/custom/default.cfg
0006
0007 RTEMS_CPU=i386
0008
0009 # This contains the compiler options necessary to select the CPU model
0010 # and (hopefully) optimize for it.
0011 #
0012 # NOTE: CPU_CFLAGS is set by pc386 variants.
0013 ifeq ($(CPU_CFLAGS),)
0014 CPU_CFLAGS = -mtune=i386
0015 endif
0016
0017 # optimize flag: typically -O2
0018 CFLAGS_OPTIMIZE_V = -O2 -g
0019 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0020
0021 LDFLAGS = -Wl,--gc-sections
0022 #+--------------------------------------------------------------------------+
0023 #| Set the value of RELOCADDR to the address where you want your image to
0024 #| load. If you'll be using GRUB to load the images it will have to be >=
0025 #| 0x100000 (1024K). If you are using NetBoot to load the images it can be
0026 #| >= 0x10000 (64K) AND <= 0x97C00 (607K) OR >= 0x100000 (1024K). The memory
0027 #| top is of course another limit. Make sure there is enough space before the
0028 #| upper memory limits for the image and the memory allocated by it to fit.
0029 #| Make sure the value you choose is aligned to 4 bytes.
0030 #+--------------------------------------------------------------------------+
0031 RELOCADDR=0x00100000
0032
0033 LDFLAGS += -Wl,-Ttext,$(RELOCADDR)