summaryrefslogtreecommitdiff
path: root/board/xilinx/zynq/Makefile
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-05-23 22:50:23 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-05-23 22:50:23 +0200
commitc534d2fdcf7aa80230a0f1ed54d5e3164ba595eb (patch)
tree7c00728aa9d0c4cecf2d9203eebc093dbebbc07a /board/xilinx/zynq/Makefile
parent10dc77716f41979e03baf3b847b97dc7279ef30d (diff)
parent9f9d41bad16efe0674257b4efe4db1a399f93643 (diff)
downloadu-boot-imx-c534d2fdcf7aa80230a0f1ed54d5e3164ba595eb.zip
u-boot-imx-c534d2fdcf7aa80230a0f1ed54d5e3164ba595eb.tar.gz
u-boot-imx-c534d2fdcf7aa80230a0f1ed54d5e3164ba595eb.tar.bz2
Merge branch 'u-boot-microblaze/zynq' into 'u-boot-arm/master'
Diffstat (limited to 'board/xilinx/zynq/Makefile')
-rw-r--r--board/xilinx/zynq/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/xilinx/zynq/Makefile b/board/xilinx/zynq/Makefile
index 3f19a1c..fd93f63 100644
--- a/board/xilinx/zynq/Makefile
+++ b/board/xilinx/zynq/Makefile
@@ -6,4 +6,7 @@
#
obj-y := board.o
-obj-$(CONFIG_SPL_BUILD) += ps7_init.o
+
+# Please copy ps7_init.c/h from hw project to this directory
+obj-$(CONFIG_SPL_BUILD) += \
+ $(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o)