2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

PR 461/bsps
	* start/Makefile.am: Correct generation of startup16.bin.
This commit is contained in:
Joel Sherrill
2003-08-21 17:02:24 +00:00
parent 416f7bbe0c
commit fc9caa918f
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2003-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 461/bsps
* start/Makefile.am: Correct generation of startup16.bin.
2003-08-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ide/Makefile.am: Don't include @RTEMS_BPS@.cfg.

View File

@@ -30,8 +30,10 @@ $(ARCH)/start16.$(OBJEXT): start16.S
$(COMPILE.S) $(AM_CPPFLAGS) -DHEADERADDR=$(HEADERADDR) -o $@ $<
$(ARCH)/start16.bin: $(ARCH)/start16.$(OBJEXT)
$(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib --oformat=elf32-i386 -o $(basename $@).$(OBJEXT)bj $(basename $@).$(OBJEXT)
$(OBJCOPY) -O binary $(basename $@).$(OBJEXT)bj $@
$(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib \
--oformat=elf32-i386 \
-o $(basename $@)-elf32.$(OBJEXT) $(basename $@).$(OBJEXT)
$(OBJCOPY) -O binary $(basename $@)-elf32.$(OBJEXT) $@
$(PROJECT_RELEASE)/lib/start16$(LIB_VARIANT).bin: $(ARCH)/start16.bin
$(INSTALL_DATA) $< $@