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:
Joel Sherrill
1999-06-14 18:33:39 +00:00
parent b290da4c0a
commit 3b38683e92
+5 -2
View File
@@ -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