-
Notifications
You must be signed in to change notification settings - Fork 4
/
MacaronOS.maca
44 lines (35 loc) · 1.19 KB
/
MacaronOS.maca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Define:
platform: x86
compiler: i686-elf-g++
linker: i686-elf-ld
archiver: i686-elf-ar
assembly: nasm
assembly_flags: -felf
cpp_flags:
-g, -O3, -std=c++2a,
-ffreestanding, -fno-use-cxa-atexit, -fno-rtti, -fno-exceptions
run_qemu: qemu-system-i386 -vga std -serial mon\:stdio -hda drive.img -kernel Kernel/MacaBuild/Kernel
target~aarch32:
platform: aarch32
compiler: arm-none-eabi-g++
linker: arm-none-eabi-ld
archiver: arm-none-eabi-ar
assembly: arm-none-eabi-as
assembly_flags: -march=armv7-a, -mcpu=cortex-a15
cpp_flags:
{cpp_flags}
-march=armv7ve
run_qemu: qemu-system-arm -M vexpress-a15 -cpu cortex-a15 -vga std -serial mon\:stdio -drive if=sd\,format=raw\,file=drive.img -kernel Kernel/MacaBuild/Kernel
Commands:
MakeDrive:
sudo ./Scripts/make_drive.sh
InstallUserspace:
sudo ./Scripts/install_userspace.sh
Run:
{run_qemu}
debug:
{run_qemu} -s -S
Build:
Depends:
System, Kernel, Applications/Clicker, Applications/Emu, Applications/Terminal, Binaries/sh
Default: Build, MakeDrive, InstallUserspace, Run