summaryrefslogtreecommitdiff
path: root/board/armltd/vexpress64/Makefile
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-11-18 10:39:06 +0000
committerTom Rini <trini@konsulko.com>2015-11-21 21:50:27 -0500
commitbc8d3bc0233df4f72172ae1552c8fa55e83538f8 (patch)
tree4a9a6e46c56f4ae5b289aa52122fa11c07b5b7d8 /board/armltd/vexpress64/Makefile
parent0ee1a22b6dbf30158718ab59f294bf1103f63121 (diff)
vexpress64: compile Juno PCIe conditionally
Only compile in PCIe support if the board really uses it. Provide a __weak stub for the init function if e.g. FVP is being built. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'board/armltd/vexpress64/Makefile')
-rw-r--r--board/armltd/vexpress64/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/armltd/vexpress64/Makefile b/board/armltd/vexpress64/Makefile
index a35db401b6..b4391a7124 100644
--- a/board/armltd/vexpress64/Makefile
+++ b/board/armltd/vexpress64/Makefile
@@ -5,4 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y := vexpress64.o pcie.o
+obj-y := vexpress64.o
+obj-$(CONFIG_TARGET_VEXPRESS64_JUNO) += pcie.o