summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNam T. Nguyen <namnguyen@chromium.org>2015-02-12 11:10:35 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-19 21:17:02 +0000
commitf44ebbe36b2c1603437edc57b534244e89bfcd9c (patch)
treed6cc323f025c33331e9f76f52468a83b058cf915 /Makefile
parenta0f7ab5567529af71516559773eca2557f8d8005 (diff)
downloadvboot-stabilize-js-6812.21.B.tar.gz
This CL implements a read function that works with MTD devices in dump_kernel_config. BUG=chromium:457862 BRANCH=none TEST=make runtests TEST=try on storm_nand Change-Id: Id784d422de64e7918b163005c0b426d727d2115e Reviewed-on: https://chromium-review.googlesource.com/249271 Reviewed-by: Nam Nguyen <namnguyen@chromium.org> Commit-Queue: Nam Nguyen <namnguyen@chromium.org> Trybot-Ready: Nam Nguyen <namnguyen@chromium.org> Tested-by: Nam Nguyen <namnguyen@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 574e9616..08049720 100644
--- a/Makefile
+++ b/Makefile
@@ -164,6 +164,11 @@ ifneq (${PD_SYNC},)
CFLAGS += -DPD_SYNC
endif
+ifneq (${USE_MTD},)
+CFLAGS += -DUSE_MTD
+LDLIBS += -lmtdutils
+endif
+
# NOTE: We don't use these files but they are useful for other packages to
# query about required compiling/linking flags.
PC_IN_FILES = vboot_host.pc.in