From dbf5430c5f91a575c3aa132d4afde987f2d68913 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Thu, 12 Dec 2013 17:15:35 +0900 Subject: [PATCH] Add additional definitions --- keyboard/gh60/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keyboard/gh60/Makefile b/keyboard/gh60/Makefile index f158fe6d..83363311 100644 --- a/keyboard/gh60/Makefile +++ b/keyboard/gh60/Makefile @@ -117,7 +117,10 @@ ifdef REV OPT_DEFS += -DGH60_REV_$(REV) endif -OPT_DEFS += -DBACKLIGHT_CUSTOM +# Additional definitions from command line +ifdef DEFS + OPT_DEFS += $(foreach DEF,$(DEFS),-D$(DEF)) +endif # Build Options # comment out to disable the options.