diff options
Diffstat (limited to '')
-rw-r--r-- | make/custom/p4650.cfg | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg index 22ca4c693a..3b01b116fd 100644 --- a/make/custom/p4650.cfg +++ b/make/custom/p4650.cfg @@ -24,9 +24,6 @@ CPU_DEFINES+=-DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3 TARGET_ARCH=o-p4650 RTEMS_BSP=p4000 -## Target compiler config file, if any -CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg - # This target does NOT support the KA9Q TCP/IP stack so ignore requests # to enable it. HAS_KA9Q=no @@ -73,7 +70,8 @@ ifeq ($(RTEMS_USE_GCC272),yes) define make-exe $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \ - $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group + $(START_FILE) $(LINK_OBJS) \ + --start-group $(LINK_LIBS) --end-group $(LD_LIBS) $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec $(RM) $(basename $@).srec1 @@ -82,7 +80,8 @@ define make-exe endef else define make-exe - $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe $(LINK_OBJS) + $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \ + $(LINK_OBJS) $(LINK_LIBS) $(LD_LIBS) $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1 $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec $(RM) $(basename $@).srec1 @@ -92,8 +91,3 @@ endef endif # Miscellaneous additions go here - - - - - |