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:
parent
f92d7fa3ad
commit
5cddb71752
2 changed files with 6 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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)
|
||||
|
||||
ifeq (none, $(ARCH))
|
||||
run: test
|
||||
run: all-kernel
|
||||
@$(KERNEL)
|
||||
else
|
||||
run: run-iso
|
||||
endif
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("Hello, World\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue