The build system should use CC and AR from environment if those are
set; this is need to allow cross building to work as it might need to
set sysroot options for gcc calls.
Change-Id: I8296709c59f0054eca830a06c3853893b88a5789
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
SECTION = "multimedia"
DEPENDS = "virtual/kernel"
-INC_PR = "r3"
+INC_PR = "r4"
LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e"
PARALLEL_MAKE="-j 1"
EXTRA_OEMAKE = ""
+do_configure_append () {
+ # FIXME: The build system does not allow CC and AR to be overriden
+ find ${S} -name Makefile | xargs sed -i 's,^\(CC\|AR\)=,\1 ?=,g'
+}
+
do_compile () {
INCLUDE_DIR="-I${STAGING_INCDIR} -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
-I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include \