From 242d7da8d54814e265376af69019faca1e746cce Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Mon, 16 Mar 2020 16:30:30 +0100 Subject: [PATCH] KA10: Panda lights also useful for PDP6. --- makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/makefile b/makefile index 828fc5c..f43b8be 100644 --- a/makefile +++ b/makefile @@ -2014,6 +2014,12 @@ PDP6 = ${PDP6D}/kx10_cpu.c ${PDP6D}/kx10_sys.c ${PDP6D}/kx10_cty.c \ ${PDP6D}/pdp6_mtc.c ${PDP6D}/pdp6_dsk.c ${PDP6D}/pdp6_dcs.c \ ${PDP6D}/kx10_dpy.c ${PDP6D}/pdp6_slave.c ${DISPLAYL} ${DISPLAY340} PDP6_OPT = -DPDP6=1 -DUSE_INT64 -I ${PDP6D} -DUSE_SIM_CARD ${DISPLAY_OPT} ${PDP6_DISPLAY_OPT} +ifneq (${PANDA_LIGHTS},) +# ONLY for Panda display. +PDP6_OPT += -DPANDA_LIGHTS +PDP6 += ${PDP6D}/kx10_lights.c +PDP6_LDFLAGS += -lusb-1.0 +endif KA10D = ${SIMHD}/PDP10 ifneq (,${DISPLAY_OPT})