Skip to content

Commit

Permalink
Remove parent-relative paths from keyboards. (qmk#16282)
Browse files Browse the repository at this point in the history
* Remove parent-relative paths from keyboards.

* Update keyboards/capsunlocked/cu75/rules.mk

Co-authored-by: Ryan <[email protected]>

Co-authored-by: Ryan <[email protected]>
  • Loading branch information
tzarc and fauxpark authored Feb 9, 2022
1 parent 1f67de2 commit c2c2f30
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 22 deletions.
4 changes: 3 additions & 1 deletion keyboards/capsunlocked/cu75/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ BOOTLOADER = atmel-dfu
#
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
2 changes: 1 addition & 1 deletion keyboards/ergodox_ez/keymaps/default_glow/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = yes # enable later

SRC += ../default/keymap.c
SRC += keymaps/default/keymap.c
12 changes: 6 additions & 6 deletions keyboards/hhkb/ansi/post_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ OPT_DEFS += -DHHKB_RN42_ENABLE

# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT
# HHKB Alt controller.
RN42_DIR = ../rn42
RN42_DIR = keyboards/hhkb/rn42

SRC += serial_uart.c \
../rn42/suart.S \
../rn42/rn42.c \
../rn42/rn42_task.c \
../rn42/battery.c \
../rn42/main.c
suart.S \
rn42.c \
rn42_task.c \
battery.c \
main.c

VPATH += $(RN42_DIR)

Expand Down
12 changes: 6 additions & 6 deletions keyboards/hhkb/jp/post_rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ OPT_DEFS += -DHHKB_RN42_ENABLE

# Support for the RN42 Bluetooth module. This is the BT module in Hasu's BT
# HHKB Alt controller.
RN42_DIR = ../rn42
RN42_DIR = keyboards/hhkb/rn42

SRC += serial_uart.c \
../rn42/suart.S \
../rn42/rn42.c \
../rn42/rn42_task.c \
../rn42/battery.c \
../rn42/main.c
suart.S \
rn42.c \
rn42_task.c \
battery.c \
main.c

VPATH += $(RN42_DIR)

Expand Down
8 changes: 4 additions & 4 deletions keyboards/rgbkb/mun/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ MCU = STM32F303
BOOTLOADER = stm32-dfu

# Touch encoder needs
SRC += ../common/touch_encoder.c
SRC += ../common/common_oled.c
VPATH += keyboards/rgbkb/common
SRC += touch_encoder.c
SRC += common_oled.c
QUANTUM_LIB_SRC += i2c_master.c

# Build Options
Expand Down Expand Up @@ -35,8 +36,7 @@ SERIAL_DRIVER = usart
LTO_ENABLE = yes
OPT = 3

OPT_DEFS += -DOLED_FONT_H=\"../common/glcdfont.c\"
OPT_DEFS += -Ikeyboards/rgbkb/common
OPT_DEFS += -DOLED_FONT_H=\"keyboards/rgbkb/common/glcdfont.c\"

# matrix optimisations
SRC += matrix.c
Expand Down
8 changes: 4 additions & 4 deletions keyboards/rgbkb/sol3/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ MCU = STM32F303
BOOTLOADER = stm32-dfu

# Touch encoder needs
SRC += ../common/touch_encoder.c
SRC += ../common/common_oled.c
VPATH += keyboards/rgbkb/common
SRC += touch_encoder.c
SRC += common_oled.c
QUANTUM_LIB_SRC += i2c_master.c

# Build Options
Expand Down Expand Up @@ -39,8 +40,7 @@ SERIAL_DRIVER = usart
LTO_ENABLE = yes
OPT = 3

OPT_DEFS += -DOLED_FONT_H=\"../common/glcdfont.c\"
OPT_DEFS += -Ikeyboards/rgbkb/common
OPT_DEFS += -DOLED_FONT_H=\"keyboards/rgbkb/common/glcdfont.c\"

# TODO: Implement fast matrix scanning
# matrix optimisations
Expand Down

0 comments on commit c2c2f30

Please sign in to comment.