diff options
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/common_features.mk b/common_features.mk index 67c64b425..01ceb8278 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -257,13 +257,11 @@ ifeq ($(strip $(BACKLIGHT_ENABLE)), yes) | |||
| 257 | SRC += $(QUANTUM_DIR)/backlight/backlight.c | 257 | SRC += $(QUANTUM_DIR)/backlight/backlight.c |
| 258 | OPT_DEFS += -DBACKLIGHT_ENABLE | 258 | OPT_DEFS += -DBACKLIGHT_ENABLE |
| 259 | 259 | ||
| 260 | ifeq ($(strip $(BACKLIGHT_DRIVER)), software) | 260 | ifeq ($(strip $(BACKLIGHT_DRIVER)), custom) |
| 261 | OPT_DEFS += -DBACKLIGHT_CUSTOM_DRIVER | ||
| 262 | else ifeq ($(strip $(BACKLIGHT_DRIVER)), software) | ||
| 261 | SRC += $(QUANTUM_DIR)/backlight/backlight_soft.c | 263 | SRC += $(QUANTUM_DIR)/backlight/backlight_soft.c |
| 262 | else | 264 | else |
| 263 | ifeq ($(strip $(BACKLIGHT_DRIVER)), custom) | ||
| 264 | OPT_DEFS += -DBACKLIGHT_CUSTOM_DRIVER | ||
| 265 | endif | ||
| 266 | |||
| 267 | ifeq ($(PLATFORM),AVR) | 265 | ifeq ($(PLATFORM),AVR) |
| 268 | SRC += $(QUANTUM_DIR)/backlight/backlight_avr.c | 266 | SRC += $(QUANTUM_DIR)/backlight/backlight_avr.c |
| 269 | else | 267 | else |
