Backports menuconfig

Environment
BSP linux BSP5.7
Module Colibri-iMX6ULL
Baord EVA Baord

They are using the backports driver with BSP 2.8.7.
They will move to BSP 5.7 in the next product update.

They realized that without menuconfig in backports they would not have the desired driver.

But when they do menuconfig in openembedded, they get an error. How can they work around this?----------------------------------------------------------------------------------------------------------------------------------
bitbake -c devshell backports
$ make menuconfig

arm-tdx-linux-gnueabi-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/developer/work500/oe-core/build/tmp/work/colibri_imx6ull-tdx-linux-gnueabi/backports/5.4-r0/recipe-sysroot -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -I/usr/include/ncursesw -DCURSES_LOC=“<curses.h>” -DNCURSES_WIDECHAR=1 -DLOCALE -c -o mconf.o mconf.c

cc1: warning: include location “/usr/include/ncursesw” is unsafe for cross-compilation [-Wpoison-system-directories]

In file included from lxdialog/dialog.h:38,

             from mconf.c:23:

/usr/include/ncursesw/curses.h:60:10: fatal error: ncursesw/ncurses_dll.h: No such file or directory

60 | #include <ncursesw/ncurses_dll.h>

  |          ^~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

<ビルトイン>: recipe for target ‘mconf.o’ failed

make[2]: *** [mconf.o] Error 1

Makefile.real:16: recipe for target ‘menuconfig’ failed

make[1]: *** [menuconfig] Error 2

Makefile:40: recipe for target ‘menuconfig’ failed

make: *** [menuconfig] Error 2

Best regards.

Sorry I solved.

This is same case.

Best regards.

Hi @developer0916,

I’m glad it’s solved! Please, feel free to ask more questions you might have.

Best Regards,
Hiago.