Perhaps this is a little clearer
This commit is contained in:
parent
5ea37bb139
commit
1571575d54
@ -33,11 +33,9 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
# Don't build anything if there is no NX support for LCD drivers
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_NX_LCDDRIVER),y)
|
ifeq ($(CONFIG_NX_LCDDRIVER),y)
|
||||||
|
|
||||||
# Include Graphics LCD drivers
|
# Include support for Graphics LCD drivers
|
||||||
|
|
||||||
ifeq ($(CONFIG_LCD_P14201),y)
|
ifeq ($(CONFIG_LCD_P14201),y)
|
||||||
CSRCS += p14201.c
|
CSRCS += p14201.c
|
||||||
@ -102,30 +100,25 @@ endif
|
|||||||
ifeq ($(CONFIG_LCD_RA8875),y)
|
ifeq ($(CONFIG_LCD_RA8875),y)
|
||||||
CSRCS += ra8875.c
|
CSRCS += ra8875.c
|
||||||
endif
|
endif
|
||||||
|
endif # CONFIG_NX_LCDDRIVER
|
||||||
|
|
||||||
# Include Alphanumeric/Segment LCD drivers too
|
ifeq ($(CONFIG_SLCD),y)
|
||||||
|
|
||||||
|
# Include support for Alphanumeric/Segment LCD drivers
|
||||||
|
|
||||||
ifeq ($(CONFIG_LCD_BACKPACK),y)
|
ifeq ($(CONFIG_LCD_BACKPACK),y)
|
||||||
CSRCS += pcf8574_lcd_backpack.c
|
CSRCS += pcf8574_lcd_backpack.c
|
||||||
endif
|
endif
|
||||||
|
endif # CONFIG_SLCD
|
||||||
|
|
||||||
# Include LCD driver build support
|
# Include LCD driver build support (the nested if-then-else implements an OR)
|
||||||
|
|
||||||
DEPPATH += --dep-path lcd
|
|
||||||
VPATH += :lcd
|
|
||||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_NX_LCDDRIVER),y)
|
||||||
|
DEPPATH += --dep-path lcd
|
||||||
|
VPATH += :lcd
|
||||||
|
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||||
else ifeq ($(CONFIG_SLCD),y)
|
else ifeq ($(CONFIG_SLCD),y)
|
||||||
|
DEPPATH += --dep-path lcd
|
||||||
# Include Alphanumeric/Segment LCD drivers only
|
VPATH += :lcd
|
||||||
|
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
||||||
ifeq ($(CONFIG_LCD_BACKPACK),y)
|
|
||||||
CSRCS += pcf8574_lcd_backpack.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Include LCD driver build support
|
|
||||||
|
|
||||||
DEPPATH += --dep-path lcd
|
|
||||||
VPATH += :lcd
|
|
||||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(TOPDIR)$(DELIM)drivers$(DELIM)lcd}
|
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user