allow LCDLIB to be defined in Makefile

ugfx_release_2.6
Thomas Saunders 2012-07-26 17:05:54 +01:00
parent 74a8fb55a3
commit 54a8a4d1e3
1 changed files with 4 additions and 1 deletions

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