refactor (drivers): moved test driver to drivers repository

This commit is contained in:
antifallobst 2023-06-01 00:03:36 +02:00
parent bb19ff02e1
commit 3d4cea2060
2 changed files with 5 additions and 8 deletions

View File

@ -52,12 +52,16 @@ libnxdrv_build() {
cd ../libraries/libnxdrv
bash build.sh
cd ../../kernel
cd ../drivers/test
bash build.sh
cd ../../kernel
cp ../drivers/build/test.nxkm ramdisk/test.nxkm
}
shell_build() {
echo " --> Building shell"
# gcc shell.c -o ramdisk/shell.elf -nostdlib -nolibc -fno-stack-protector -I../libraries/libnx/inc/public ../libraries/libnx/build/cmake/libnx.so
gcc test_driver.c -o ramdisk/test_driver.nxkm -nostdlib -nolibc -I../libraries/libnxdrv/inc -L../libraries/libnxdrv/build -lnxdrv
}

View File

@ -1,7 +0,0 @@
#include "libnxdrv.h"
int main() {
nx_drv_init();
return 0;
}