I am trying to compile kernel for Allwinner A10 processor (sun4i, ARMV7) for Android 4.1.2. Config file is copied from the device and some modules are added.  $ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-  CHK     include/linux/version.h  CHK     include/generated/utsrelease.hmake[1]: include/generated/mach-types.h is up to date.  CALL    scripts/checksyscalls.sh  CC      init/main.oinit/main.c:32:28: fatal error: linux/security.h: No such file or directory #include <linux/security.h>compilation terminated.                                                                                                                                                           make[1]: *** [init/main.o] Error 1                                                                                                                                                   make: *** [init] Error 2I am compiling using the arm-linux-gnueabihf-gcc, for which I downloaded linux-libc-dev-armhf-cross and I already have linux-headers-generic. However, the security.h is not among other headers in directories (under linux/ ) listed by command arm-linux-gnueabihf-gcc -xc -E -v -.I colud copy it there from somewhere on the Internet, but I guess it is not a good idea, since I need one for gnueabihf.So the question is : Where can I get (which package) the linux/security.h for gnuaebihf?
Kernel make error linux/security.h: No such file or directory
kernel;make;android;cross compilation;header file