luajit: fix build issues, obey more vars
luajit: fix build issues, obey more vars

Rework how variables are passed in to ensure that more of our flag vars are
obeyed, make it obey more of our target path vars, and use fewer of its
hardcoded flags. Also add verbosity to the compile output for debugging.

Without this, errors were seen for us:

    | In file included from .../lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed/64/sgxx-glibc/syslimits.h:7:0,
    |                  from .../lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed/64/sgxx-glibc/limits.h:34,
    |                  from luaconf.h:12,
    |                  from lua.h:16,
    |                  from lj_arch.h:9:
    | .../lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed/64/sgxx-glibc/limits.h:168:61: fatal error: limits.h: No such file or directory
    | compilation terminated.
    | Makefile:233: *** Unsupported target architecture.  Stop.
    | make[1]: Leaving directory '.../luajit/2.0.4-r0/LuaJIT-2.0.4/src'

Signed-off-by: Christopher Larson <4c8c411260e601995081b113a5ef94a26eff2b25@mentor.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>

fredcadete/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,VCTLabs/meta-openembedded,fredcadete/meta-openembedded,schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,mrchapp/meta-openembedded,mrchapp/meta-openembedded,mrchapp/meta-openembedded,mrchapp/meta-openembedded,kraj/meta-openembedded,fredcadete/meta-openembedded,moto-timo/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,fredcadete/meta-openembedded,kraj/meta-openembedded,lgirdk/meta-openembedded,kraj/meta-openembedded,kraj/meta-openembedded,fredcadete/meta-openembedded,VCTLabs/meta-openembedded,amery/meta-openembedded,openembedded/meta-openembedded,moto-timo/meta-openembedded,rehsack/meta-openembedded,openembedded/meta-openembedded,moto-timo/meta-openembedded,amery/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,schnitzeltony/meta-openembedded,amery/meta-openembedded,VCTLabs/meta-openembedded,fredcadete/meta-openembedded,amery/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,mrchapp/meta-openembedded,lgirdk/meta-openembedded,openembedded/meta-openembedded,fredcadete/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,victronenergy/meta-openembedded,kraj/meta-openembedded,kraj/meta-openembedded,VCTLabs/meta-openembedded,lgirdk/meta-openembedded,VCTLabs/meta-openembedded,amery/meta-openembedded,openembedded/meta-openembedded,schnitzeltony/meta-openembedded,VCTLabs/meta-openembedded,schnitzeltony/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,victronenergy/meta-openembedded,mrchapp/meta-openembedded,schnitzeltony/meta-openembedded,lgirdk/meta-openembedded,mrchapp/meta-openembedded,victronenergy/meta-openembedded,openembedded/meta-openembedded,lgirdk/meta-openembedded,rehsack/meta-openembedded,VCTLabs/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,sigma-embedded/elito-org.openembedded.meta,victronenergy/meta-openembedded,fredcadete/meta-openembedded,lgirdk/meta-openembedded,victronenergy/meta-openembedded,victronenergy/meta-openembedded,lgirdk/meta-openembedded,schnitzeltony/meta-openembedded,victronenergy/meta-openembedded,openembedded/meta-openembedded,moto-timo/meta-openembedded,kraj/meta-openembedded,amery/meta-openembedded,rehsack/meta-openembedded,rehsack/meta-openembedded,moto-timo/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,amery/meta-openembedded,rehsack/meta-openembedded,VCTLabs/meta-openembedded,rehsack/meta-openembedded