diff options
author | Simon Glass | 2017-08-29 14:16:00 -0600 |
---|---|---|
committer | Simon Glass | 2017-09-15 05:27:48 -0600 |
commit | b145b45b0ce26028d9ad6ea8277c052c3c87ea56 (patch) | |
tree | 11d9a12e15192d69612e8e7abde0b0311a6b1a2e /scripts | |
parent | 634eba4be060af3bcba51cba2d57d217df897f31 (diff) |
dtoc: Rename the auto-generated dt-structs.h file
The filename of the auto-generated file is the same as the file that
includes it. Even though the form is in the generated/ subdirectory, this
could be confused.
Rename the generated file to something that makes it clear it is
auto-generated.
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.spl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index dd8065d87d0..b86ea76bab2 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -257,14 +257,15 @@ cmd_dtoch = $(pythonpath) $(srctree)/tools/dtoc/dtoc -d $(obj)/$(SPL_BIN).dtb -o quiet_cmd_plat = PLAT $@ cmd_plat = $(CC) $(c_flags) -c $< -o $@ -$(obj)/dts/dt-platdata.o: $(obj)/dts/dt-platdata.c include/generated/dt-structs.h +$(obj)/dts/dt-platdata.o: $(obj)/dts/dt-platdata.c \ + include/generated/dt-structs-gen.h $(call if_changed,plat) PHONY += dts_dir dts_dir: $(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts) -include/generated/dt-structs.h: $(obj)/$(SPL_BIN).dtb dts_dir checkdtoc +include/generated/dt-structs-gen.h: $(obj)/$(SPL_BIN).dtb dts_dir checkdtoc $(call if_changed,dtoch) $(obj)/dts/dt-platdata.c: $(obj)/$(SPL_BIN).dtb dts_dir checkdtoc |