I want to use gpio interrupts on my VoCore 2 (ramips, mt7628an) via c program.
I have compiled the Toolchain but there is no interrupt.h in this dir (staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/include) but there is in the (build_dir/target-mipsel_24kc_musl/linux-ramips_mt7628/linux-4.4.71/include/linux).
What's a right way to use it? I try to create simulink to this file, but there are other dependencies and I need fix they manually.
I'm not sure about this way but how to compile toolchain with needed functionality?
I tried to compile various modules via make menuconfig and make kernel_menuconfig, but in the toolchain there are only 423 files in the include/linux folder everytime. Kernel archive (linux-4.4.71) has over 1000 files in the include/linux folder.