提交 807cc640 编写于 作者: S Simon Glass 提交者: Tom Rini

Makefile: Unify the rules for BOOTCOUNT_LIMIT

Use a single rule that works for all phases.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 f7560376
# SPDX-License-Identifier: GPL-2.0+ # SPDX-License-Identifier: GPL-2.0+
obj-$(CONFIG_$(SPL_TPL_)BOOTCOUNT_LIMIT) += bootcount/
obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/ obj-$(CONFIG_$(SPL_TPL_)BUTTON) += button/
obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/ obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/ obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
...@@ -36,7 +37,6 @@ obj-$(CONFIG_$(SPL_)FPGA) += fpga/ ...@@ -36,7 +37,6 @@ obj-$(CONFIG_$(SPL_)FPGA) += fpga/
ifndef CONFIG_TPL_BUILD ifndef CONFIG_TPL_BUILD
ifdef CONFIG_SPL_BUILD ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
obj-$(CONFIG_SPL_CPU) += cpu/ obj-$(CONFIG_SPL_CPU) += cpu/
obj-$(CONFIG_SPL_CRYPTO) += crypto/ obj-$(CONFIG_SPL_CRYPTO) += crypto/
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/ obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR) += ddr/fsl/
...@@ -69,7 +69,6 @@ endif ...@@ -69,7 +69,6 @@ endif
ifdef CONFIG_TPL_BUILD ifdef CONFIG_TPL_BUILD
obj-$(CONFIG_TPL_BOOTCOUNT_LIMIT) += bootcount/
obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/ obj-$(CONFIG_TPL_MPC8XXX_INIT_DDR) += ddr/fsl/
endif endif
...@@ -82,7 +81,6 @@ obj-y += bus/ ...@@ -82,7 +81,6 @@ obj-y += bus/
obj-$(CONFIG_DM_DEMO) += demo/ obj-$(CONFIG_DM_DEMO) += demo/
obj-$(CONFIG_BIOSEMU) += bios_emulator/ obj-$(CONFIG_BIOSEMU) += bios_emulator/
obj-y += block/ obj-y += block/
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
obj-y += cache/ obj-y += cache/
obj-$(CONFIG_CPU) += cpu/ obj-$(CONFIG_CPU) += cpu/
obj-y += crypto/ obj-y += crypto/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册