redox/Makefile

54 lines
939 B
Makefile
Raw Normal View History

2017-01-05 22:07:20 +01:00
# Configuration and variables
include mk/config.mk
2016-09-10 03:08:04 +02:00
all: build/harddrive.bin
live: build/livedisk.bin
2016-08-26 01:03:01 +02:00
2016-12-01 04:58:22 +01:00
iso: build/livedisk.iso
2016-09-10 03:08:04 +02:00
clean:
cargo clean
2017-01-05 21:30:09 +01:00
cargo clean --manifest-path rust/src/libcollections/Cargo.toml
cargo clean --manifest-path rust/src/libstd/Cargo.toml
-$(FUMOUNT) build/filesystem/ || true
rm -rf initfs/bin
rm -rf filesystem/bin filesystem/sbin filesystem/ui/bin
2016-09-10 03:08:04 +02:00
rm -rf build
2016-11-02 15:32:14 +01:00
2016-10-14 19:37:50 +02:00
update:
cargo update
2016-10-14 19:37:50 +02:00
2016-12-14 17:49:05 +01:00
pull:
git pull --rebase --recurse-submodules
2016-12-14 18:06:09 +01:00
git submodule sync
2016-12-14 17:49:05 +01:00
git submodule update --recursive --init
2016-12-19 16:00:19 +01:00
git clean -X -f -d
2016-12-14 17:49:05 +01:00
make clean
make update
2017-01-05 22:07:20 +01:00
# Emulation recipes
include mk/qemu.mk
include mk/bochs.mk
include mk/virtualbox.mk
2016-11-07 01:35:56 +01:00
2016-09-10 03:08:04 +02:00
# Kernel recipes
2017-01-05 22:07:20 +01:00
include mk/kernel.mk
2016-09-10 03:08:04 +02:00
# Userspace recipes
2017-01-05 22:07:20 +01:00
include mk/userspace/mod.mk
2017-01-05 22:07:20 +01:00
# Documentation
include mk/doc.mk
2016-11-10 01:00:48 +01:00
2017-01-05 22:07:20 +01:00
# Filesystem recipes
include mk/initfs.mk
include mk/filesystem.mk
2017-01-05 22:07:20 +01:00
# Disk images
include mk/disk.mk
2017-01-05 22:07:20 +01:00
# Misc
wireshark: FORCE
wireshark build/network.pcap