source: rtems/make/custom/Linux-posix.cfg @ 25d2f5d7

4.104.114.84.9
Last change on this file since 25d2f5d7 was 25d2f5d7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Apr 9, 2004 at 3:03:54 AM

2004-04-09 Ralf Corsepius <ralf_corsepius@…>

  • make/Linux-posix.cfg: Merge LIBC_DEFINES into CPU_CFLAGS.
  • Property mode set to 100644
File size: 677 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
17CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
18
19# optimize flag: typically -0, could use -O4 or -fast
20# -O4 is ok for RTEMS
21CFLAGS_OPTIMIZE_V = -O2
22
23define make-exe
24        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
25        $(NM) -ng $@ > $(basename $@).num
26        $(SIZE) $@
27endef
28
29# *****************************************************************
30# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.