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

4
sandbox/hello/Makefile Normal file
View File

@@ -0,0 +1,4 @@
SANDBOX_PROG_NAME := hello
include ../sandbox-config.mk
include ../sandbox-template.mk

7
sandbox/hello/main.c Normal file
View File

@@ -0,0 +1,7 @@
#include <stdio.h>
int main(int argc, const char **argv)
{
printf("Hello, world\n");
return 0;
}