forked from Imagelibrary/rtems
2011-07-18 Till Straumann <strauman@slac.stanford.edu>
* motorola_powerpc/make/custom/qemuprep-altivec.cfg, motorola_powerpc/Makefile.am: added altivec-enabled variant.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-07-18 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* motorola_powerpc/make/custom/qemuprep-altivec.cfg,
|
||||
motorola_powerpc/Makefile.am: added altivec-enabled variant.
|
||||
|
||||
2011-07-15 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* motorola_powerpc/Makefile.am,
|
||||
|
||||
@@ -156,7 +156,8 @@ libbsp_a_LIBADD = \
|
||||
../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
|
||||
../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
|
||||
../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
|
||||
|
||||
if QEMU
|
||||
libbsp_a_LIBADD+=ne2000.rel
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# Config file for the PowerPC 604 based mvme2307
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/default.cfg
|
||||
|
||||
RTEMS_CPU=powerpc
|
||||
RTEMS_CPU_MODEL=mpc7400
|
||||
|
||||
# This contains the compiler options necessary to select the CPU model
|
||||
# and (hopefully) optimize for it.
|
||||
#
|
||||
CPU_CFLAGS = -mcpu=7400 -mmultiple -mstring -mstrict-align -D__ppc_generic
|
||||
|
||||
# optimize flag: typically -O2
|
||||
CFLAGS_OPTIMIZE_V = -O2 -g
|
||||
|
||||
ifdef PURE_BINARY
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@).exe $(basename $@)$(DOWNEXT)
|
||||
endef
|
||||
else
|
||||
define bsp-post-link
|
||||
$(default-bsp-post-link)
|
||||
$(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
|
||||
gzip -vf9 rtems
|
||||
$(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \
|
||||
--just-symbols=$(basename $@).exe \
|
||||
-b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
|
||||
-Map $(basename $@).map && chmod 755 $@
|
||||
rm -f rtems.gz
|
||||
endef
|
||||
endif
|
||||
Reference in New Issue
Block a user