Skip to contentSkip to conversation

lcdproc: Disable serialVFD driver on arm/aarch64

PATCH New Khem Raj 1 participant 1 message Feb 15, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 lcdproc: Disable serialVFD driver on arm/aarch64

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)
|                                       ^
---
 meta-oe/recipes-extended/lcdproc/lcdproc_git.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-extended/lcdproc/lcdproc_git.bb +3 -2
index 93a09f28a0..1354997891 100644
@@ -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"
Signature · 1 line
2.20.1