Skip to content
Snippets Groups Projects
Commit 2547e91d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

tegra: Indicate that binman makes all three output files

Use GNU make pattern rules to indicate that a single run of binman
produces all three Tegra output files. The avoids make running binman
three times (perhaps in parallel) and those instances inteferring with
each other.

See http://patchwork.ozlabs.org/patch/944611/

 for the bug report.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
parent 9f8aba7a
No related branches found
No related tags found
No related merge requests found
...@@ -1234,8 +1234,9 @@ endif ...@@ -1234,8 +1234,9 @@ endif
ifneq ($(CONFIG_TEGRA),) ifneq ($(CONFIG_TEGRA),)
ifneq ($(CONFIG_BINMAN),) ifneq ($(CONFIG_BINMAN),)
u-boot-dtb-tegra.bin u-boot-tegra.bin u-boot-nodtb-tegra.bin: \ # Makes u-boot-dtb-tegra.bin u-boot-tegra.bin u-boot-nodtb-tegra.bin
spl/u-boot-spl u-boot.bin FORCE %-dtb-tegra.bin %-tegra.bin %-nodtb-tegra.bin: \
spl/%-spl %.bin FORCE
$(call if_changed,binman) $(call if_changed,binman)
else else
OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE) OBJCOPYFLAGS_u-boot-nodtb-tegra.bin = -O binary --pad-to=$(CONFIG_SYS_TEXT_BASE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment