summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2016-01-12 11:45:29 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-26 14:56:30 -0800
commit6502935d9f610f8d62acf2de2534e5e64ee50643 (patch)
treef9715e3fccc77a6831312938fd1ea977846c4103
parent3061777b091c183a39fd5cb4666e026371445b62 (diff)
downloadvboot-6502935d9f610f8d62acf2de2534e5e64ee50643.tar.gz
Pipe the custom_music use flag to the define
This will allow the definition of CUSTOM_MUSIC from the individual board ebuilds. TEST=Define use flag and extra functions on a board, enjoy the custom tunes BUG=chrome-os-partner:48657 BRANCH=master Change-Id: I974f9cc51f9b25fb3dff063926e6ea01cf1e031b Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/323833 Commit-Ready: Alexandru Stan <amstan@chromium.org> Tested-by: Alexandru Stan <amstan@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 944ae739..97567df2 100644
--- a/Makefile
+++ b/Makefile
@@ -157,6 +157,10 @@ CC ?= gcc
CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall ${WERROR} ${DEBUG_FLAGS}
endif
+ifneq (${CUSTOM_MUSIC},)
+CFLAGS += -DCUSTOM_MUSIC
+endif
+
ifneq (${DEBUG},)
CFLAGS += -DVBOOT_DEBUG
endif