diff options
Diffstat (limited to 'make/custom/mvme162.cfg')
-rw-r--r-- | make/custom/mvme162.cfg | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/make/custom/mvme162.cfg b/make/custom/mvme162.cfg index ed5d974169..21a2fe7782 100644 --- a/make/custom/mvme162.cfg +++ b/make/custom/mvme162.cfg @@ -26,9 +26,6 @@ endif # mvme162lx - mc68lc040 # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=mvme162 -## Target compiler config file, if any -CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg - # We may install in a CPU model based directory but this is still # a mvme162 based bsp. RTEMS_BSP=mvme162 @@ -90,7 +87,8 @@ endif # mc68lc040 define make-exe $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group + $(START_FILE) $(LINK_OBJS) \ + --start-group $(LINK_LIBS) --end-group $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ $(PROJECT_TOOLS)/packhex > $(basename $@).exe @@ -99,7 +97,8 @@ define make-exe endef else define make-exe - $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe $(LINK_OBJS) + $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe $(LINK_OBJS) \ + $(LINK_LIBS) $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ $(PROJECT_TOOLS)/packhex > $(basename $@).exe @@ -108,6 +107,3 @@ define make-exe endef endif # Miscellaneous additions go here - - - |