diff options
author | Alistair Popple <alistair@popple.id.au> | 2017-07-17 15:09:33 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2017-07-17 15:09:33 +1000 |
commit | c9001c480c208d4690797edd75d0b5a24a0893c8 (patch) | |
tree | 5f69b2ec24ba27c751e7edbacf5184bbe9992b74 | |
parent | f77aa364ae56527c053002a28febd45d7945b5d6 (diff) | |
download | pdbg-c9001c480c208d4690797edd75d0b5a24a0893c8.tar.gz pdbg-c9001c480c208d4690797edd75d0b5a24a0893c8.zip |
Makefile.am: Add output directory as an include path to dtc
Out of tree builds would occasionally fail due to not finding a generated
include file for the device-tree.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 20c32dd..ffa1d3a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,7 +53,7 @@ libpdbg_la_SOURCES = \ p9w-fsi.dtb.o: p9w-fsi.dts p9-fsi.dtsi %.dtb.o: %.dts - dtc -I dts $< -O dtb > $@.tmp + dtc -i$(dir $@) -I dts $< -O dtb > $@.tmp # We need to align the output as some processor/kernel # combinations can't deal with the alignment errors when |