1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00

Run "none" kernel

This commit is contained in:
Braiden Vasco 2017-11-08 12:26:37 +00:00
parent f92d7fa3ad
commit 5cddb71752
2 changed files with 6 additions and 1 deletions

View file

@ -15,7 +15,8 @@ export MODULES = $(addprefix $(shell pwd)/modules/, dummy1.bin dummy2.bin)
export CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I $(INCLUDE) export CFLAGS = -std=gnu99 -ffreestanding -nostdinc -fno-builtin -fno-stack-protector -Wall -Wextra -I $(INCLUDE)
ifeq (none, $(ARCH)) ifeq (none, $(ARCH))
run: test run: all-kernel
@$(KERNEL)
else else
run: run-iso run: run-iso
endif endif

View file

@ -1,4 +1,8 @@
#include <stdio.h>
int main() int main()
{ {
printf("Hello, World\n");
return 0; return 0;
} }