Message ID | 20170403122511.7194-1-nikolaus.schulz@avionic-design.de |
---|---|
State | Rejected |
Headers | show |
On 04/03/2017 06:25 AM, Nikolaus Schulz wrote: > Creating an emmc image requires the bct file as a prerequisite. > Add the dependency to post.mk. After thinking about this, I'm going to apply "post.mk: Create dependency makefile by makefile rule" instead of this series. I believe that patch has two advantages over this series (1) where multiple BCTs exist, changing a BCT only rebuilds the specific images that use it (2) there's no need to hard-code any of the bootloader filenames in the makefile. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/build/post.mk b/build/post.mk index 979d8ce..809fa2b 100644 --- a/build/post.mk +++ b/build/post.mk @@ -26,6 +26,6 @@ image_deps := $(addprefix .,$(addsuffix .d,$(images))) %.bct: %.bct.cfg cbootimage -gbct -$(soc) $< $@ -%.img: %.img.cfg +%.img: %.img.cfg $(bcts) ../../../build/gen-image-deps.sh $< $@ .$@.d cbootimage -$(soc) $< $@
Creating an emmc image requires the bct file as a prerequisite. Add the dependency to post.mk. Signed-off-by: Nikolaus Schulz <nikolaus.schulz@avionic-design.de> --- build/post.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)