source: rtems/make/custom/Linux-posix.cfg @ 59aea5d

4.104.114.84.9
Last change on this file since 59aea5d was 59aea5d, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 24, 2007 at 3:46:01 PM

2007-07-24 Joel Sherrill <joel.sherrill@…>

  • custom/Linux-posix.cfg: Linux BSP must be linked with C++ compiler.
  • Property mode set to 100644
File size: 744 bytes
Line 
1#
2#  Config file for the Linux 1.x based RTEMS UNIX
3#
4#  $Id$
5#
6
7RTEMS_CPU=unix
8RTEMS_CPU_FAMILY=i386
9RTEMS_CPU_MODEL=i486dx
10RTEMS_UNIX_FLAVOR=linux
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=posix
14
15include $(RTEMS_ROOT)/make/custom/default.cfg
16
17# This contains the compiler options necessary to select the CPU model
18# and (hopefully) optimize for it.
19CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
20
21# optimize flag: typically -O2
22CFLAGS_OPTIMIZE_V = -O0 -g
23
24define make-exe
25        $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
26        $(NM) -g -n $@ > $(basename $@).num
27        $(SIZE) $@
28endef
29
30# *****************************************************************
31# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.