]> code.ossystems Code Review - meta-freescale.git/commitdiff
xf86-video-imxfb-vivante: cleanup
authorMax Krummenacher <max.oss.09@gmail.com>
Tue, 7 Mar 2017 00:26:16 +0000 (01:26 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 9 Mar 2017 20:30:07 +0000 (17:30 -0300)
The build starts since commit meta-fsl-arm da0581341a58dfe393a829b3c402330c73589963
with the make file in ${S} which is actually named Makefile, thus there is no
need to override base.do_compile or pass the directory and name of the
make file in EXTRA_OEMAKE.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc

index 8bac15161cc266562ffff127a7a6754d3a1ab6e1..e284fbce734b180939d61f4cb22f9828dd22f6f8 100644 (file)
@@ -19,7 +19,7 @@ INITSCRIPT_PACKAGES = "xserver-xorg-extension-viv-autohdmi"
 INITSCRIPT_NAME = "rc.autohdmi"
 INITSCRIPT_PARAMS = "start 99 2 3 4 5 ."
 
-EXTRA_OEMAKE += "-C ${S} -f Makefile prefix=${D}/usr \
+EXTRA_OEMAKE += "prefix=${D}/usr \
                  sysroot=${STAGING_DIR_TARGET} \
                  LFLAGS="${LDFLAGS}" \
                  BUSID_HAS_NUMBER=1 \
@@ -42,13 +42,6 @@ do_configure_prepend () {
             ${S}EXA/src/makefile.linux
 }
 
-# FIXME: This is need as Freescale didn't use standard Makefile filename
-#        thus oe_runmame thinks nothing is need to be done, use ln to
-#        workaround it.
-base_do_compile () {
-    oe_runmake || die "make failed"
-}
-
 do_install_append () {
        install -d ${D}${includedir}
        cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir}