Implemented support for building host binaries to test kernel features

This commit is contained in:
2022-12-26 22:12:53 +00:00
parent 23e8e654d9
commit 83c7f2293c
7 changed files with 67 additions and 2 deletions

7
tools/make/gcc-host.mk Normal file
View File

@@ -0,0 +1,7 @@
LD := gcc
CC := gcc
ASM := gcc
CFLAGS := -Wall -Werror -pedantic
ASMFLAGS := $(CFLAGS)
LDFLAGS := -O2