summaryrefslogtreecommitdiffstats
path: root/bsps/i386
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-26 07:29:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-27 07:11:58 +0200
commit3d703f40d5763effb9d892b05e2635835b5f094b (patch)
tree42243362996c25a6965e17dc1a797bf36a876f6f /bsps/i386
parentbsp/mcf5206elite: Do not install runtest script (diff)
downloadrtems-3d703f40d5763effb9d892b05e2635835b5f094b.tar.bz2
bsp/pc386: Remove bin2boot support
Update #3408. Close #3410.
Diffstat (limited to 'bsps/i386')
-rw-r--r--bsps/i386/pc386/config/pc386.cfg24
1 files changed, 0 insertions, 24 deletions
diff --git a/bsps/i386/pc386/config/pc386.cfg b/bsps/i386/pc386/config/pc386.cfg
index dd7f554cbc..52f77a3abe 100644
--- a/bsps/i386/pc386/config/pc386.cfg
+++ b/bsps/i386/pc386/config/pc386.cfg
@@ -20,11 +20,6 @@ CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
LDFLAGS = -Wl,--gc-sections
-
-# Here is the rule to actually build a $(ARCH)/foo$(EXEEXT)
-# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
-# Usage ref: src/tests/sptest/sp1/Makefile
-
#+--------------------------------------------------------------------------+
#| Set the value of RELOCADDR to the address where you want your image to
#| load. If you'll be using GRUB to load the images it will have to be >=
@@ -36,23 +31,4 @@ LDFLAGS = -Wl,--gc-sections
#+--------------------------------------------------------------------------+
RELOCADDR=0x00100000
-START16FILE=$(PROJECT_RELEASE)/lib/start16$(LIB_VARIANT).bin
-START16ADDR=0x00097C00
-HEADERADDR=0x00097E00
-
LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
-
-define bsp-post-link
- $(default-bsp-post-link)
- $(OBJCOPY) -O elf32-i386 \
- --remove-section=.comment \
- --remove-section=.note \
- --strip-unneeded $(basename $@)$(EXEEXT) $(basename $@).nxe
- $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).bin
- $(PROJECT_TOOLS)/bin2boot -v $(basename $@)$(DOWNEXT) $(HEADERADDR)\
- $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
- rm -f $(basename $@).nxe
-endef
-
-# BSP-specific tools
-BIN2BOOT=$(PROJECT_TOOLS)/bin2boot