allow LCDLIB to be defined in Makefile
This commit is contained in:
parent
74a8fb55a3
commit
54a8a4d1e3
1 changed files with 4 additions and 1 deletions
5
lcd.mk
5
lcd.mk
|
@ -1,4 +1,7 @@
|
|||
LCDLIB = $(CHIBIOS)/ext/lcd
|
||||
# don't re-define LCDLIB if it has been set elsewhere, e.g in Makefile
|
||||
ifeq ($(LCDLIB),)
|
||||
LCDLIB = $(CHIBIOS)/ext/lcd
|
||||
endif
|
||||
|
||||
include $(LCDLIB)/drivers/drivers.mk
|
||||
include $(LCDLIB)/glcd/glcd.mk
|
||||
|
|
Loading…
Add table
Reference in a new issue