Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: target/dartuinoP0/rules.mk

Issue 1741463002: [target][dartuinoP0] Allow for varying framebuffer format and stride. (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « target/dartuinoP0/memory_lcd.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: target/dartuinoP0/rules.mk
diff --git a/target/dartuinoP0/rules.mk b/target/dartuinoP0/rules.mk
index 5271f9e528ca5d68fed1846cea7bbdb76519c203..aedcd3efe8c2727965e3a292f912fad3b7ed99a9 100644
--- a/target/dartuinoP0/rules.mk
+++ b/target/dartuinoP0/rules.mk
@@ -36,25 +36,31 @@ MODULE_SRCS += \
$(LOCAL_DIR)/usb.c \
ifneq ($(DISPLAY_PANEL_TYPE),)
-MODULE_DEPS += \
- lib/gfx
MODULE_SRCS += \
$(LOCAL_DIR)/memory_lcd.c
+
endif
ifeq ($(DISPLAY_PANEL_TYPE),LS013B7DH06)
+
GLOBAL_DEFINES += \
LCD_LS013B7DH06=1
-
MODULE_SRCS += \
$(LOCAL_DIR)/display/LS013B7DH06.c
+
else ifeq ($(DISPLAY_PANEL_TYPE),LS027B7DH01)
+
GLOBAL_DEFINES += \
LCD_LS027B7DH01=1
+MODULE_SRCS += \
+ $(LOCAL_DIR)/display/memory_lcd_mono.c
+else ifeq ($(DISPLAY_PANEL_TYPE),LS013B7DH03)
+GLOBAL_DEFINES += \
+ LCD_LS013B7DH03=1
MODULE_SRCS += \
- $(LOCAL_DIR)/display/LS027B7DH01.c
+ $(LOCAL_DIR)/display/memory_lcd_mono.c
endif
include make/module.mk
« no previous file with comments | « target/dartuinoP0/memory_lcd.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698