Merge pull request #21 from trsaunders/master
allow LCDLIB to be defined in Makefile
This commit is contained in:
commit
a97595f289
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)/drivers/drivers.mk
|
||||||
include $(LCDLIB)/glcd/glcd.mk
|
include $(LCDLIB)/glcd/glcd.mk
|
||||||
|
|
Loading…
Add table
Reference in a new issue