Compare commits
No commits in common. "fbb975674f8877da66a2f0e489b7bce1e120de0f" and "0f42691db80f12dbb607b0de0bc12e76eba14110" have entirely different histories.
fbb975674f
...
0f42691db8
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -25,6 +25,3 @@
|
|||||||
[submodule "tools/initfs"]
|
[submodule "tools/initfs"]
|
||||||
path = tools/initfs
|
path = tools/initfs
|
||||||
url = https://gitlab.redox-os.org/redox-os/redox-initfs.git
|
url = https://gitlab.redox-os.org/redox-os/redox-initfs.git
|
||||||
[submodule "kernel"]
|
|
||||||
path = kernel
|
|
||||||
url = https://gitlab.redox-os.org/redox-os/kernel.git
|
|
||||||
|
4
Makefile
4
Makefile
@ -1,10 +1,6 @@
|
|||||||
BUILD_DIR=./build
|
BUILD_DIR=./build
|
||||||
export QEMU?=qemu-system-x86_64
|
export QEMU?=qemu-system-x86_64
|
||||||
|
|
||||||
TOOLCHAIN = $(CURDIR)/tools/bin/x86_64-unknown-redox/toolchain
|
|
||||||
export PATH := $(TOOLCHAIN)/bin:$(PATH)
|
|
||||||
export CARGO := $(TOOLCHAIN)/bin/cargo
|
|
||||||
|
|
||||||
# Default rule
|
# Default rule
|
||||||
.PHONY: default
|
.PHONY: default
|
||||||
default: bios
|
default: bios
|
||||||
|
1
kernel
1
kernel
@ -1 +0,0 @@
|
|||||||
Subproject commit d4797bbf50aa294bce404b30570f0ab6d45753ed
|
|
@ -3,15 +3,12 @@ $(BUILD_DIR)/filesystem/boot/initfs: $(shell find ./components -type f -not -pat
|
|||||||
rm -f $@
|
rm -f $@
|
||||||
make -C tools
|
make -C tools
|
||||||
make -C components
|
make -C components
|
||||||
./tools/bin/redox-initfs-ar \
|
./tools/bin/redox-initfs-ar --output $@ ./components/build
|
||||||
./components/build \
|
|
||||||
./components/build/boot/bootstrap \
|
|
||||||
--output $@
|
|
||||||
|
|
||||||
$(BUILD_DIR)/filesystem/boot/kernel: $(shell find ./kernel -type f -not -path "*/target/*")
|
$(BUILD_DIR)/filesystem/boot/kernel:
|
||||||
@mkdir -p $(BUILD_DIR)/filesystem/boot
|
@mkdir -p $(BUILD_DIR)/filesystem/boot
|
||||||
cd ./kernel && make
|
rm -f $@
|
||||||
cp -v kernel/kernel "$@"
|
fallocate -l 1MiB $(BUILD_DIR)/filesystem/boot/kernel
|
||||||
|
|
||||||
|
|
||||||
$(BUILD_DIR)/filesystem.img: $(BUILD_DIR)/filesystem/boot/kernel $(BUILD_DIR)/filesystem/boot/initfs
|
$(BUILD_DIR)/filesystem.img: $(BUILD_DIR)/filesystem/boot/kernel $(BUILD_DIR)/filesystem/boot/initfs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user