forked from Imagelibrary/rtems
Update from Eric Norum:
Here are some patches to the gen68360 BSP. The improvements include:
Boot prom run-time selection of DRAM size (1/4/16 Mbytes)
Full 32-bit ethernet address obtained from boot prom.
Updated README.
This commit is contained in:
@@ -79,13 +79,10 @@ ifeq ($(RTEMS_USE_GCC272),yes)
|
||||
LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a
|
||||
LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a
|
||||
|
||||
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
|
||||
RTEMS_GEN68360_EXTRA_LDFLAGS=--defsym RamSize=0x100000
|
||||
else
|
||||
RTEMS_GEN68360_EXTRA_LDFLAGS=
|
||||
endif
|
||||
|
||||
define make-exe
|
||||
@ echo
|
||||
@ echo "WARNING: newlib may use bit test instructions!!"
|
||||
@ echo
|
||||
$(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
|
||||
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
|
||||
$(NM) -g -n $(basename $@).exe > $(basename $@).num
|
||||
@@ -93,12 +90,6 @@ define make-exe
|
||||
endef
|
||||
else
|
||||
|
||||
ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
|
||||
CFLAGS_LD=-Wl,--defsym -Wl,RamSize=0x100000
|
||||
else
|
||||
CFLAGS_LD=
|
||||
endif
|
||||
|
||||
define make-exe
|
||||
$(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe $(LINK_OBJS)
|
||||
$(NM) -g -n $(basename $@).exe > $(basename $@).num
|
||||
|
||||
Reference in New Issue
Block a user