app external lib use zephyr driver fail


Hi guys,
I refer to external_lib sample create a app external lib , in external lib source code include "driver/display.h".
during build, show below error message, It seems that extern lib is generated before syscall, which will cause dependency problems. Is there a way to adjust extern lib to syscall and compile it?
My code base is v2.2.0
In file included from /mnt/e/westz/zephyrproject/zephyr/include/kernel_includes.h:32,
                 from /mnt/e/westz/zephyrproject/zephyr/include/kernel.h:17,
                 from /mnt/e/westz/zephyrproject/zephyr/include/device.h:10,
                 from /mnt/e/westz/zephyrproject/zephyr/include/drivers/display.h:22,
                 from src/SwiftDisplay.c:1:
/mnt/e/westz/zephyrproject/zephyr/include/syscall.h:11:10: fatal error: syscall_list.h: No such file or directory
   11 | #include <syscall_list.h>

Join to automatically receive all group messages.