URL
https://opencores.org/ocsvn/eco32/eco32/trunk
[/] [eco32/] [trunk/] [disk/] [tools/] [Makefile.run] - Diff between revs 74 and 99
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 74 |
Rev 99 |
Line 2... |
Line 2... |
# 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
|
|
# the disk server should wait for commands!
|
|
#
|
|
|
BUILD = ..
|
BUILD = ..
|
|
|
all: disk.img
|
SER_DEV = /dev/tty01
|
|
DSK_IMG = disk.img
|
|
RUN_LOG = run.log
|
|
|
|
all: $(DSK_IMG)
|
|
|
run-sim: disk.img
|
run-sim: $(DSK_IMG)
|
$(BUILD)/bin/sim -i -c -t 1 \
|
$(BUILD)/bin/sim -i -c -t 1 \
|
-r $(BUILD)/monitor/xsa-xst-3/monitor.bin \
|
-r $(BUILD)/monitor/xsa-xst-3/monitor.bin \
|
-d disk.img -o run.log
|
-d $(DSK_IMG) -o $(RUN_LOG)
|
|
|
run-server: disk.img
|
run-server: $(DSK_IMG)
|
$(BUILD)/bin/diskserv disk.img
|
$(BUILD)/bin/diskserv $(SER_DEV) $(DSK_IMG)
|
|
|
disk.img:
|
$(DSK_IMG):
|
$(BUILD)/bin/mkdisk disk.img 100M
|
$(BUILD)/bin/mkdisk $(DSK_IMG) 100M
|
$(BUILD)/bin/mkpart disk.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
|
|
|
clean:
|
clean:
|
$(MAKE) -C fs-EOS32 clean
|
$(MAKE) -C fs-EOS32 clean
|
$(MAKE) -C fs-NetBSD clean
|
$(MAKE) -C fs-NetBSD clean
|
rm -f *~ disk.img run.log
|
rm -f *~ $(DSK_IMG) $(RUN_LOG)
|
rm -f *~ $(DSK_IMG) $(RUN_LOG)
|
rm -f *~ $(DSK_IMG) $(RUN_LOG)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.