OpenCores
URL https://opencores.org/ocsvn/zet86/zet86/trunk

Subversion Repositories zet86

[/] [zet86/] [trunk/] [soc/] [bios/] [Makefile] - Diff between revs 37 and 39

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 37 Rev 39
Line 35... Line 35...
RELVERS = `pwd | sed "s-.*/--" | sed "s/vgabios//" | sed "s/-//"`
RELVERS = `pwd | sed "s-.*/--" | sed "s/vgabios//" | sed "s/-//"`
 
 
VGABIOS_DATE = "-DVGABIOS_DATE=\"$(RELDATE)\""
VGABIOS_DATE = "-DVGABIOS_DATE=\"$(RELDATE)\""
 
 
 
 
all: run
all: bios.rom
 
 
bios.bin: vgabios.rom ff.rom zet-bios.rom
ff.out: ../../bin/ff
        cat vgabios.rom ff.rom zet-bios.rom > $@
        ../../bin/ff 8192 >$@
 
 
run: bios.bin
%.ml403: %.rom
        prf
        hexdump -v -e '4/1 "%02X"' -e '"\n"' $< > ../../impl/virtex4-ml403ep/sim/$@
 
 
%.rom: %.out
%.rom: %.out
        out2rom-ml403 < $< > $@
        ../../bin/out2rom-ml403 ff.out $< >$@
 
 
 
#vgabios.rom: vgabios.out
 
#       out2rom-ml403 ff.out $< >$@
 
 
 
#hd.rom: hd.out
 
#       out2rom-ml403 ff.out $< >$@
 
 
 
bios.out: vgabios.out ff.out zet-bios.out
 
        cat vgabios.out ff.out zet-bios.out > $@
 
 
 
run: flash.rom
 
        prf
 
 
clean:
clean:
        rm -f  *.o *.a *.s _rombios*_.c rombios*.txt rombios*.sym
        rm -f  *.o *.a *.s _rombios*_.c rombios*.txt rombios*.sym *.out *.rom
        rm -f  usage biossums vgasums
        rm -f  usage biossums vgasums
        rm -f  *.ld86 \
        rm -f  *.ld86 \
          temp.awk.* vgabios*.orig _vgabios_* vgabios*.bin vgabios*.txt $(RELEASE).bin *.bak
          temp.awk.* vgabios*.orig _vgabios_* vgabios*.bin vgabios*.txt $(RELEASE).bin *.bak
 
 
bios-clean:
bios-clean:
Line 77... Line 89...
        $(AS86) _vgabios_.s -b vgabios.bin -u -w- -g -0 -j -O -l vgabios.txt
        $(AS86) _vgabios_.s -b vgabios.bin -u -w- -g -0 -j -O -l vgabios.txt
#       rm -f _vgabios_.s _vgabios_.c vgabios.s
#       rm -f _vgabios_.s _vgabios_.c vgabios.s
        mv vgabios.bin $@
        mv vgabios.bin $@
        ./vgasums $@
        ./vgasums $@
 
 
%.rom: %.out
 
        out2rom-ml403 < $< > $@
 
 
 
%.bin: %.rom
 
        cat count.rom $< > $@
 
 
 
%.rtlrom: %.out
%.rtlrom: %.out
        hexdump -v -e '1/1 "%02X"' -e '"\n"' $< > ../../sim/$@
        hexdump -v -e '1/1 "%02X"' -e '"\n"' $< > ../../sim/$@
 
 
vgasums: vgasums.c
vgasums: vgasums.c
        $(CC) -o vgasums vgasums.c
        $(CC) -o vgasums vgasums.c

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.