source: rtems/bsps/i386/pc386/config/pc386.cfg @ 3d703f4

Last change on this file since 3d703f4 was 3d703f4, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 26, 2018 at 5:29:28 AM

bsp/pc386: Remove bin2boot support

Update #3408.
Close #3410.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for the PC 386 BSP
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=i386
8
9#  This contains the compiler options necessary to select the CPU model
10#  and (hopefully) optimize for it.
11#
12# NOTE: CPU_CFLAGS is set by pc386 variants.
13ifeq ($(CPU_CFLAGS),)
14  CPU_CFLAGS = -mtune=i386
15endif
16
17# optimize flag: typically -O2
18CFLAGS_OPTIMIZE_V = -O2 -g
19# Per function sections disabled per https://devel.rtems.org/ticket/2638
20CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
21 
22LDFLAGS = -Wl,--gc-sections
23#+--------------------------------------------------------------------------+
24#| Set the value of RELOCADDR to the address where you want your image to
25#| load. If you'll be using GRUB to load the images it will have to be >=
26#| 0x100000 (1024K). If you are using NetBoot to load the images it can be
27#| >= 0x10000 (64K) AND <= 0x97C00 (607K) OR >= 0x100000 (1024K). The memory
28#| top is of course another limit. Make sure there is enough space before the
29#| upper memory limits for the image and the memory allocated by it to fit.
30#| Make sure the value you choose is aligned to 4 bytes.
31#+--------------------------------------------------------------------------+
32  RELOCADDR=0x00100000
33
34LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
Note: See TracBrowser for help on using the repository browser.