diff mbox series

[oe,meta-oe] lcdproc: Disable serialVFD driver on arm/aarch64

Message ID 20190215145720.34247-1-raj.khem@gmail.com
State Accepted
Commit 20e298af0e5998aca4aaa96503a5ed761ca0805d
Headers show
Series [oe,meta-oe] lcdproc: Disable serialVFD driver on arm/aarch64 | expand

Commit Message

Khem Raj Feb. 15, 2019, 2:57 p.m. UTC
This driver uses inb/outb instructions which seems to have trouble on
arm/aarch64 compiler

server/drivers/serialVFD_io.c
:45:
| ../../../git/server/drivers/port.h:344:32: error: invalid output constraint '=a' in asm
|
|         __asm__ volatile ("inb %1,%0":"=a" (value)
|                                       ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-extended/lcdproc/lcdproc_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb b/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb
index 93a09f28a0..1354997891 100644
--- a/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb
+++ b/meta-oe/recipes-extended/lcdproc/lcdproc_git.bb
@@ -19,9 +19,10 @@  S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig update-rc.d
 
-COMPATIBLE_HOST_arm_libc-musl = "null"
-
 LCD_DRIVERS ?= "all,!irman,!svga"
+LCD_DRIVERS_append_aarch64 = ",!serialVFD"
+LCD_DRIVERS_append_arm = ",!serialVFD"
+
 LCD_DEFAULT_DRIVER ?= "curses"
 
 PACKAGECONFIG ??= "usb"