mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-17 13:24:59 +08:00
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg, compilers/gcc-no_bsp.cfg: Add optional manager stub for Classic API Barrier.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* leaf.cfg, compilers/gcc-no_bsp.cfg: Add optional manager stub
|
||||
for Classic API Barrier.
|
||||
|
||||
2007-04-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* custom/rtl22xx.cfg: Cleanup.
|
||||
|
||||
@@ -25,7 +25,7 @@ CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(LINK_OBJS) $(LINK_LIBS) -Wl,-Map,$(basename $@).map
|
||||
$(NM) -g -n $(basename $@).exe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).exe
|
||||
endef
|
||||
|
||||
@@ -32,13 +32,13 @@ CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
# is currently required.
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(OBJCOPY) -O srec $(basename $@).elf $(basename $@).srec
|
||||
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec
|
||||
sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
|
||||
$(PACKHEX) > $(basename $@).exe
|
||||
$(NM) -g -n $(basename $@).elf > $(basename $@).num
|
||||
$(SIZE) $(basename $@).elf
|
||||
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).nxe
|
||||
endef
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
@@ -19,7 +19,7 @@ RTEMS_BSP_FAMILY=mvme136
|
||||
CPU_CFLAGS =
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
|
||||
CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer -DNDEBUG
|
||||
|
||||
# The following are definitions of make-exe which will work using ld as
|
||||
# is currently required.
|
||||
|
||||
@@ -20,7 +20,7 @@ CPU_CFLAGS = -mcpu=7450 -Dmpc7455 -mno-altivec -mabi=altivec -mvrsave=no -mmulti
|
||||
#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
CFLAGS_OPTIMIZE_V = -O1 -g
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
|
||||
|
||||
@@ -21,11 +21,11 @@ CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame
|
||||
# -O4 is ok for RTEMS
|
||||
# NOTE2: some level of -O may be actually required by inline assembler (at least
|
||||
# -O2 so far.
|
||||
CFLAGS_OPTIMIZE_V=-O2 -g
|
||||
CFLAGS_OPTIMIZE_V=-Os -g -DNDEBUG
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(LINK_OBJS) $(LINK_LIBS) -Wl,-Map,$(basename $@).map
|
||||
$(NM) -g -n $(basename $@).exe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).exe
|
||||
endef
|
||||
|
||||
@@ -27,10 +27,10 @@ CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
|
||||
|
||||
define make-exe
|
||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
-o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -g -n $(basename $@).elf > $(basename $@).num
|
||||
$(SIZE) $(basename $@).elf
|
||||
$(OBJCOPY) -O srec $(basename $@).elf $(basename $@).s1
|
||||
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).nxe
|
||||
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).s1
|
||||
sed -e 's/.$$//' $(basename $@).s1 | \
|
||||
$(PACKHEX) >$(basename $@).exe
|
||||
rm -f $(basename $@).s1
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
# ref: target compiler config file for usage
|
||||
#
|
||||
|
||||
MANAGER_LIST=dpmem event io msg mp part region sem signal timer rtmon ext
|
||||
MANAGER_LIST=barrier dpmem event io msg mp part
|
||||
MANAGER_LIST+=region sem signal timer rtmon ext
|
||||
|
||||
# Convert *real* spellings in $(MANAGERS) (set
|
||||
# in application makefile) to their "correct" name.
|
||||
|
||||
Reference in New Issue
Block a user