2017-01-05 22:07:20 +01:00
|
|
|
# Configuration and variables
|
|
|
|
include mk/config.mk
|
2016-09-10 03:08:04 +02:00
|
|
|
|
2016-11-20 04:19:41 +01: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-12-01 01:32:58 +01:00
|
|
|
|
2016-09-10 03:08:04 +02:00
|
|
|
clean:
|
2017-06-20 04:15:56 +02:00
|
|
|
cd cookbook && ./clean.sh
|
2017-06-18 23:59:43 +02:00
|
|
|
cargo clean --manifest-path cookbook/pkgutils/Cargo.toml
|
|
|
|
cargo clean --manifest-path installer/Cargo.toml
|
2017-05-11 05:39:05 +02:00
|
|
|
cargo clean --manifest-path kernel/Cargo.toml
|
2018-01-01 23:56:56 +01:00
|
|
|
cargo clean --manifest-path kernel/syscall/Cargo.toml
|
2017-06-30 02:14:28 +02:00
|
|
|
cargo clean --manifest-path redoxfs/Cargo.toml
|
2017-01-05 00:34:43 +01:00
|
|
|
-$(FUMOUNT) build/filesystem/ || true
|
2016-09-10 03:08:04 +02:00
|
|
|
rm -rf build
|
2016-11-02 15:32:14 +01:00
|
|
|
|
2018-01-01 23:56:56 +01:00
|
|
|
distclean:
|
|
|
|
make clean
|
|
|
|
cd cookbook && ./unfetch.sh
|
|
|
|
|
2016-12-14 17:49:05 +01:00
|
|
|
pull:
|
2017-10-10 04:28:43 +02:00
|
|
|
git pull --recurse-submodules
|
|
|
|
git submodule sync --recursive
|
2016-12-14 17:49:05 +01:00
|
|
|
git submodule update --recursive --init
|
2017-06-18 23:59:43 +02:00
|
|
|
|
|
|
|
update:
|
2017-09-27 04:53:08 +02:00
|
|
|
cd cookbook && ./update.sh \
|
|
|
|
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../initfs.toml)" \
|
|
|
|
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../filesystem.toml)"
|
2017-06-18 23:59:43 +02:00
|
|
|
cargo update --manifest-path cookbook/pkgutils/Cargo.toml
|
|
|
|
cargo update --manifest-path installer/Cargo.toml
|
|
|
|
cargo update --manifest-path kernel/Cargo.toml
|
2017-06-30 02:14:28 +02:00
|
|
|
cargo update --manifest-path redoxfs/Cargo.toml
|
2016-12-14 17:49:05 +01:00
|
|
|
|
2017-07-11 05:04:40 +02:00
|
|
|
fetch:
|
2017-09-27 04:53:08 +02:00
|
|
|
cd cookbook && ./fetch.sh \
|
|
|
|
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../initfs.toml)" \
|
|
|
|
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../filesystem.toml)"
|
2017-07-11 05:04:40 +02:00
|
|
|
|
2018-08-17 04:30:54 +02:00
|
|
|
# Cross compiler recipes
|
|
|
|
include mk/cross.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-11-20 04:19:41 +01:00
|
|
|
|
2017-01-05 22:07:20 +01:00
|
|
|
# Filesystem recipes
|
|
|
|
include mk/initfs.mk
|
|
|
|
include mk/filesystem.mk
|
2016-09-19 04:17:08 +02:00
|
|
|
|
2017-01-05 22:07:20 +01:00
|
|
|
# Disk images
|
|
|
|
include mk/disk.mk
|
Orbital (#16)
* Port previous ethernet scheme
* Add ipd
* Fix initfs rebuilds, use QEMU user networking addresses in ipd
* Add tcp/udp, netutils, dns, and network config
* Add fsync to network driver
* Add dns, router, subnet by default
* Fix e1000 driver. Make ethernet and IP non-blocking to avoid deadlocks
* Add orbital server, WIP
* Add futex
* Add orbutils and orbital
* Update libstd, orbutils, and orbital
Move ANSI key encoding to vesad
* Add orbital assets
* Update orbital
* Update to add login manager
* Add blocking primitives, block for most things except waitpid, update orbital
* Wait in waitpid and IRQ, improvements for other waits
* Fevent in root scheme
* WIP: Switch to using fevent
* Reorganize
* Event based e1000d driver
* Superuser-only access to some network schemes, display, and disk
* Superuser root and irq schemes
* Fix orbital
2016-10-14 01:21:42 +02:00
|
|
|
|
2018-08-17 04:30:54 +02:00
|
|
|
# Emulation recipes
|
|
|
|
include mk/qemu.mk
|
|
|
|
include mk/bochs.mk
|
|
|
|
include mk/virtualbox.mk
|
|
|
|
|
2018-06-10 17:54:05 +02:00
|
|
|
# CI image target
|
|
|
|
ci-img: FORCE
|
|
|
|
make INSTALLER_FLAGS= build/harddrive.bin.gz build/harddrive-efi.bin.gz build/livedisk.iso build/livedisk-efi.iso
|
|
|
|
rm -rf build/img
|
|
|
|
mkdir build/img
|
|
|
|
mv build/harddrive.bin.gz build/img/redox_$(IMG_TAG)_harddrive.bin.gz
|
|
|
|
mv build/livedisk.iso build/img/redox_$(IMG_TAG)_livedisk.iso
|
|
|
|
mv build/harddrive-efi.bin.gz build/img/redox_$(IMG_TAG)_harddrive-efi.bin.gz
|
|
|
|
mv build/livedisk-efi.iso build/img/redox_$(IMG_TAG)_livedisk-efi.iso
|
|
|
|
cd build/img && sha256sum -b * > SHA256SUM
|
|
|
|
|
|
|
|
# CI packaging target
|
|
|
|
ci-pkg: FORCE
|
|
|
|
cd cookbook && ./fetch.sh \
|
|
|
|
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../ci.toml)"
|
|
|
|
cd cookbook && ./repo.sh \
|
|
|
|
"$$(cargo run --manifest-path ../installer/Cargo.toml -- --list-packages -c ../ci.toml)"
|
2017-06-30 04:06:16 +02:00
|
|
|
|
2017-01-10 05:54:38 +01:00
|
|
|
# An empty target
|
|
|
|
FORCE:
|
|
|
|
|
|
|
|
# A method of creating a listing for any binary
|
|
|
|
%.list: %
|
|
|
|
objdump -C -M intel -D $< > $@
|
|
|
|
|
|
|
|
# Wireshark
|
Orbital (#16)
* Port previous ethernet scheme
* Add ipd
* Fix initfs rebuilds, use QEMU user networking addresses in ipd
* Add tcp/udp, netutils, dns, and network config
* Add fsync to network driver
* Add dns, router, subnet by default
* Fix e1000 driver. Make ethernet and IP non-blocking to avoid deadlocks
* Add orbital server, WIP
* Add futex
* Add orbutils and orbital
* Update libstd, orbutils, and orbital
Move ANSI key encoding to vesad
* Add orbital assets
* Update orbital
* Update to add login manager
* Add blocking primitives, block for most things except waitpid, update orbital
* Wait in waitpid and IRQ, improvements for other waits
* Fevent in root scheme
* WIP: Switch to using fevent
* Reorganize
* Event based e1000d driver
* Superuser-only access to some network schemes, display, and disk
* Superuser root and irq schemes
* Fix orbital
2016-10-14 01:21:42 +02:00
|
|
|
wireshark: FORCE
|
2016-11-20 04:19:41 +01:00
|
|
|
wireshark build/network.pcap
|