summaryrefslogtreecommitdiff
path: root/src/mainboard/sifive
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2019-07-23 16:58:53 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-07-29 06:02:37 +0000
commit135bc3652ed7cfd86b5594e6d86b5aa3e7a537c0 (patch)
tree0a84acc64cd1845854b9cb9b6966026727e3a454 /src/mainboard/sifive
parent693c55c545809f12663831f1f67c9584fb9533cd (diff)
downloadcoreboot-135bc3652ed7cfd86b5594e6d86b5aa3e7a537c0.tar.xz
src/mainboard/{cavium,sifive}: Use $(obj) instead of build
The build directory might not exist in the src dir. BUG=b:112267918 TEST=make what-jenkins-does Change-Id: I2d4fa6cc455592f92070796cd065cd66646d5ba9 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34552 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/sifive')
-rw-r--r--src/mainboard/sifive/hifive-unleashed/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/sifive/hifive-unleashed/Makefile.inc b/src/mainboard/sifive/hifive-unleashed/Makefile.inc
index 263297eb74..207898e973 100644
--- a/src/mainboard/sifive/hifive-unleashed/Makefile.inc
+++ b/src/mainboard/sifive/hifive-unleashed/Makefile.inc
@@ -20,7 +20,7 @@ ramstage-y += memlayout.ld
ramstage-y += fixup_fdt.c
-DTB=build/hifive-unleashed.dtb
+DTB=$(obj)/hifive-unleashed.dtb
DTS=src/mainboard/sifive/hifive-unleashed/hifive-unleashed.dts
$(DTB): $(DTS)
dtc -I dts -O dtb -o $(DTB) $(DTS)