Disable -Wall option to build within kitkat directory.
Add CONFIG_FRAME_WARN=0 option to build within kitkat directory.
Disable security module.