[meta-freescale] [PATCH 2/2] xf86-video-imxfb-vivante: cleanup

Max Krummenacher max.oss.09 at gmail.com
Sat Feb 25 08:43:49 PST 2017


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 at toradex.com>
---
 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc
index c34ab9d..8c3489b 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc
@@ -22,7 +22,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 \
@@ -45,13 +45,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}
-- 
2.6.6



More information about the meta-freescale mailing list