summaryrefslogtreecommitdiffstats
path: root/make/custom/pc386.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-18 17:54:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-18 17:54:03 +0000
commit011677f8fc6ce37832e88a65500b7c08e9dba73e (patch)
tree5856c052d40a0e3663e6120a26bd19169340d867 /make/custom/pc386.cfg
parentPart of the targopts.h change in generation patch from Ralf Corsepius (diff)
downloadrtems-011677f8fc6ce37832e88a65500b7c08e9dba73e.tar.bz2
Part of automake VI Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
> Adds variables to the custom/*cfg files to specify the location of > tools. The purpose is to remove hard-coded paths from the Makefiles. > > In later steps this eases moving the tools to other locations.
Diffstat (limited to 'make/custom/pc386.cfg')
-rw-r--r--make/custom/pc386.cfg5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/custom/pc386.cfg b/make/custom/pc386.cfg
index 50689fce06..fb7ef4c6a4 100644
--- a/make/custom/pc386.cfg
+++ b/make/custom/pc386.cfg
@@ -76,7 +76,7 @@ define make-exe
--remove-section=.note \
--strip-unneeded $(basename $@).obj $@
$(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
- $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
+ $(BIN2BOOT) -v $(basename $@).bt $(HEADERADDR)\
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
$(NM) -g -n $(basename $@).obj > $(basename $@).num
$(SIZE) $(basename $@).obj
@@ -105,3 +105,6 @@ endef
endif
# Miscellaneous additions go here
+
+# BSP-specific tools
+BIN2BOOT=$(PROJECT_TOOLS)/bin2boot