From 3d4cea2060c28e8c54c22c00c2f590af787f686d Mon Sep 17 00:00:00 2001 From: antifallobst Date: Thu, 1 Jun 2023 00:03:36 +0200 Subject: [PATCH] refactor (drivers): moved test driver to drivers repository --- build.sh | 6 +++++- test_driver.c | 7 ------- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 test_driver.c diff --git a/build.sh b/build.sh index 8a9db36..587e83d 100755 --- a/build.sh +++ b/build.sh @@ -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 } diff --git a/test_driver.c b/test_driver.c deleted file mode 100644 index b78feba..0000000 --- a/test_driver.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "libnxdrv.h" - -int main() { - nx_drv_init(); - - return 0; -} \ No newline at end of file