diff options
| author | Amitay Isaacs <amitay@ozlabs.org> | 2018-08-16 15:59:08 +1000 |
|---|---|---|
| committer | Alistair Popple <alistair@popple.id.au> | 2018-09-07 13:42:46 +1000 |
| commit | ac3d0504402fdadf7e227da851114d10012623c5 (patch) | |
| tree | 31c2e72301ae3ea06570ed3d17cca51c5a27c26a | |
| parent | a70adda7e3a65ee7d8b6063eb3cac2a094d027ad (diff) | |
| download | pdbg-ac3d0504402fdadf7e227da851114d10012623c5.tar.gz pdbg-ac3d0504402fdadf7e227da851114d10012623c5.zip | |
build: Add explicit dependency for device-tree headers
This ensures that device tree headers are built only when required.
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
| -rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 643bc99..0966a0a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,8 +55,6 @@ DT = fake.dts $(DT_ARM) $(DT_PPC) DT_objects = $(DT:.dts=.dtb.o) DT_headers = $(DT:.dts=.dt.h) -BUILT_SOURCES = $(DT) $(DT_headers) - optcmd_test_SOURCES = src/optcmd.c src/parsers.c src/tests/optcmd_test.c optcmd_test_CFLAGS = -Wall -g @@ -80,6 +78,8 @@ pdbg_SOURCES = \ src/parsers.h \ src/progress.h +src/main.c: $(DT_headers) + pdbg_LDADD = $(DT_objects) libpdbg.la libfdt.la libccan.a \ -L.libs -lrt |

