mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* Use $(PACKHEX) instead of $(PROJECT_TOOLS)/packhex
* Set HAS_RDBG=no for ts_386ex otherwise building it will attempt to
compile librdbg for pc386
This commit is contained in:
@@ -27,6 +27,9 @@ CFLAGS_OPTIMIZE_V=-O4
|
||||
# to enable it.
|
||||
HAS_NETWORKING=yes
|
||||
|
||||
# This BSP does not support librdbg
|
||||
HAS_RDBG=no
|
||||
|
||||
# This section makes the target dependent options file.
|
||||
|
||||
# NDEBUG (C library)
|
||||
@@ -74,7 +77,7 @@ define make-exe
|
||||
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
|
||||
$(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
|
||||
$(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
|
||||
$(PROJECT_TOOLS)/packhex > $(basename $@).exe
|
||||
$(PACKHEX) > $(basename $@).exe
|
||||
$(NM) -g -n $(basename $@).coff > $(basename $@).num
|
||||
$(SIZE) $(basename $@).coff
|
||||
endef
|
||||
@@ -84,7 +87,7 @@ define make-exe
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
$(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
|
||||
$(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
|
||||
$(PROJECT_TOOLS)/packhex > $(basename $@).exe
|
||||
$(PACKHEX) > $(basename $@).exe
|
||||
$(NM) -g -n $(basename $@).coff > $(basename $@).num
|
||||
$(SIZE) $(basename $@).coff
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user