summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2016-01-12 11:45:29 -0800
committerChromeOS bot <3su6n15k.default@developer.gserviceaccount.com>2016-01-30 01:38:17 +0000
commit1a505fc6c4003f493028a6813537f375abd24f9e (patch)
tree15f61fe7a53919ca64daf77eaeb1b954528f1f09
parentf47c086d21c36b6e9850ad251a76319e86951606 (diff)
downloadvboot-1a505fc6c4003f493028a6813537f375abd24f9e.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> Reviewed-on: https://chromium-review.googlesource.com/321385
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 99aa739b..b797df35 100644
--- a/Makefile
+++ b/Makefile
@@ -144,6 +144,10 @@ CC ?= gcc
CFLAGS += -DCHROMEOS_ENVIRONMENT -Wall -Werror ${DEBUG_FLAGS}
endif
+ifneq (${CUSTOM_MUSIC},)
+CFLAGS += -DCUSTOM_MUSIC
+endif
+
ifneq (${DEBUG},)
CFLAGS += -DVBOOT_DEBUG
endif