allow LCDLIB to be defined in Makefile

This commit is contained in:
Thomas Saunders 2012-07-26 17:05:54 +01:00
parent 74a8fb55a3
commit 54a8a4d1e3

5
lcd.mk
View File

@ -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