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