Remove parent-relative paths from keyboards. (#16282)

* Remove parent-relative paths from keyboards.

* Update keyboards/capsunlocked/cu75/rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
Nick Brassel 2022-02-10 07:02:53 +11:00 committed by GitHub
parent 1f67de2001
commit c2c2f30f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 22 deletions

View File

@ -9,4 +9,6 @@ BOOTLOADER = atmel-dfu
# #
BACKLIGHT_DRIVER = custom BACKLIGHT_DRIVER = custom
SRC = ../lfkeyboards/TWIlib.c ../lfkeyboards/issi.c ../lfkeyboards/lighting.c # TODO: These boards need to be converted to RGB Matrix
VPATH += keyboards/lfkeyboards
SRC = TWIlib.c issi.c lighting.c

View File

@ -1,4 +1,4 @@
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes # enable later RGB_MATRIX_ENABLE = yes # enable later
SRC += ../default/keymap.c SRC += keymaps/default/keymap.c

View File

@ -4,14 +4,14 @@ OPT_DEFS += -DHHKB_RN42_ENABLE
# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT # Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT
# HHKB Alt controller. # HHKB Alt controller.
RN42_DIR = ../rn42 RN42_DIR = keyboards/hhkb/rn42
SRC += serial_uart.c \ SRC += serial_uart.c \
../rn42/suart.S \ suart.S \
../rn42/rn42.c \ rn42.c \
../rn42/rn42_task.c \ rn42_task.c \
../rn42/battery.c \ battery.c \
../rn42/main.c main.c
VPATH += $(RN42_DIR) VPATH += $(RN42_DIR)

View File

@ -4,14 +4,14 @@ OPT_DEFS += -DHHKB_RN42_ENABLE
# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT # Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT
# HHKB Alt controller. # HHKB Alt controller.
RN42_DIR = ../rn42 RN42_DIR = keyboards/hhkb/rn42
SRC += serial_uart.c \ SRC += serial_uart.c \
../rn42/suart.S \ suart.S \
../rn42/rn42.c \ rn42.c \
../rn42/rn42_task.c \ rn42_task.c \
../rn42/battery.c \ battery.c \
../rn42/main.c main.c
VPATH += $(RN42_DIR) VPATH += $(RN42_DIR)

View File

@ -5,8 +5,9 @@ MCU = STM32F303
BOOTLOADER = stm32-dfu BOOTLOADER = stm32-dfu
# Touch encoder needs # Touch encoder needs
SRC += ../common/touch_encoder.c VPATH += keyboards/rgbkb/common
SRC += ../common/common_oled.c SRC += touch_encoder.c
SRC += common_oled.c
QUANTUM_LIB_SRC += i2c_master.c QUANTUM_LIB_SRC += i2c_master.c
# Build Options # Build Options
@ -35,8 +36,7 @@ SERIAL_DRIVER = usart
LTO_ENABLE = yes LTO_ENABLE = yes
OPT = 3 OPT = 3
OPT_DEFS += -DOLED_FONT_H=\"../common/glcdfont.c\" OPT_DEFS += -DOLED_FONT_H=\"keyboards/rgbkb/common/glcdfont.c\"
OPT_DEFS += -Ikeyboards/rgbkb/common
# matrix optimisations # matrix optimisations
SRC += matrix.c SRC += matrix.c

View File

@ -5,8 +5,9 @@ MCU = STM32F303
BOOTLOADER = stm32-dfu BOOTLOADER = stm32-dfu
# Touch encoder needs # Touch encoder needs
SRC += ../common/touch_encoder.c VPATH += keyboards/rgbkb/common
SRC += ../common/common_oled.c SRC += touch_encoder.c
SRC += common_oled.c
QUANTUM_LIB_SRC += i2c_master.c QUANTUM_LIB_SRC += i2c_master.c
# Build Options # Build Options
@ -39,8 +40,7 @@ SERIAL_DRIVER = usart
LTO_ENABLE = yes LTO_ENABLE = yes
OPT = 3 OPT = 3
OPT_DEFS += -DOLED_FONT_H=\"../common/glcdfont.c\" OPT_DEFS += -DOLED_FONT_H=\"keyboards/rgbkb/common/glcdfont.c\"
OPT_DEFS += -Ikeyboards/rgbkb/common
# TODO: Implement fast matrix scanning # TODO: Implement fast matrix scanning
# matrix optimisations # matrix optimisations