mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
2004-11-17 Joel Sherrill <joel@OARcorp.com>
* custom/mvme2100.cfg: Add make-cxx-exe rule.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2004-11-17 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* custom/mvme2100.cfg: Add make-cxx-exe rule.
|
||||
|
||||
2004-11-10 Richard Campbell <richard.campbell@oarcorp.com>
|
||||
|
||||
* Makefile.am: Add MVME2100 BSP.
|
||||
|
||||
@@ -44,4 +44,17 @@ define make-exe
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
|
||||
define make-cxx-exe
|
||||
$(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
-o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
|
||||
$(NM) -g -n $(basename $@).nxe > $(basename $@).num
|
||||
$(SIZE) $(basename $@).nxe
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
|
||||
# Miscellaneous additions go here
|
||||
|
||||
Reference in New Issue
Block a user