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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [Makefile.run] - Diff between revs 273 and 274

Only display areas with differences | Details | Blame | View Log

Rev 273 Rev 274
#
#
# Makefile to build a bootable disk, and either start the
# Makefile to build a bootable disk, and either start the
# ECO32 simulator with a ROM monitor (goal: run an OS within
# ECO32 simulator with a ROM monitor (goal: run an OS within
# the simulator) or start the serial line disk server (goal:
# the simulator) or start the serial line disk server (goal:
# run an OS on an FPGA board).
# run an OS on an FPGA board).
#
#
# NOTE: Please set SER_DEV to the serial line device on which
# NOTE: Please set SER_DEV to the serial line device on which
#       the disk server should wait for commands!
#       the disk server should wait for commands!
#
#
BUILD = ..
BUILD = ..
SER_DEV = /dev/tty01
SER_DEV = /dev/tty01
DSK_IMG = disk.img
DSK_IMG = disk.img
DSK_SIZ = 590M
DSK_SIZ = 650M
RUN_LOG = run.log
RUN_LOG = run.log
all:            $(DSK_IMG)
all:            $(DSK_IMG)
run-sim:        $(DSK_IMG)
run-sim:        $(DSK_IMG)
                $(BUILD)/bin/sim -i -m 32 -c -s 2 -t 0 -t 1 \
                $(BUILD)/bin/sim -i -m 32 -c -s 2 -t 0 -t 1 \
                  -r $(BUILD)/monitor/simulator/monitor.bin \
                  -r $(BUILD)/monitor/simulator/monitor.bin \
                  -d $(DSK_IMG) -o $(RUN_LOG)
                  -d $(DSK_IMG) -o $(RUN_LOG)
run-server:     $(DSK_IMG)
run-server:     $(DSK_IMG)
                $(BUILD)/bin/diskserv $(SER_DEV) $(DSK_IMG)
                $(BUILD)/bin/diskserv $(SER_DEV) $(DSK_IMG)
$(DSK_IMG):
$(DSK_IMG):
                $(BUILD)/bin/mkdisk $(DSK_IMG) $(DSK_SIZ)
                $(BUILD)/bin/mkdisk $(DSK_IMG) $(DSK_SIZ)
                $(BUILD)/bin/mkpart $(DSK_IMG) disk.part
                $(BUILD)/bin/mkpart $(DSK_IMG) disk.part
                $(MAKE) -C fs-EOS32 all
                $(MAKE) -C fs-EOS32 all
                $(MAKE) -C fs-NetBSD all
                $(MAKE) -C fs-NetBSD all
                $(MAKE) -C fs-Linux all
                $(MAKE) -C fs-Linux all
clean:
clean:
                $(MAKE) -C fs-EOS32 clean
                $(MAKE) -C fs-EOS32 clean
                $(MAKE) -C fs-NetBSD clean
                $(MAKE) -C fs-NetBSD clean
                $(MAKE) -C fs-Linux clean
                $(MAKE) -C fs-Linux clean
                rm -f *~ $(DSK_IMG) $(RUN_LOG)
                rm -f *~ $(DSK_IMG) $(RUN_LOG)
 
 

powered by: WebSVN 2.1.0

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