summaryrefslogtreecommitdiff
path: root/chip/mchp
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mchp')
-rw-r--r--chip/mchp/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/mchp/build.mk b/chip/mchp/build.mk
index 0197e364d0..cea514ec43 100644
--- a/chip/mchp/build.mk
+++ b/chip/mchp/build.mk
@@ -43,7 +43,9 @@ chip-$(CONFIG_PWM)+=pwm.o
chip-$(CONFIG_SPI)+=spi.o qmspi.o
chip-$(CONFIG_TFDP)+=tfdp.o
chip-$(CONFIG_WATCHDOG)+=watchdog.o
+ifndef CONFIG_KEYBOARD_NOT_RAW
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o
+endif
# location of the scripts and keys used to pack the SPI flash image
SCRIPTDIR:=./chip/${CHIP}/util