mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
Makefile: Unify condition for mpc85xx reset vector
Use 'CONFIG_MPC85XX_HAVE_RESET_VECTOR && CONFIG_OF_SEPARATE' pattern instead of 'CONFIG_MPC85XX_HAVE_RESET_VECTOR && !CONFIG_OF_EMBED' also in OBJCOPYFLAGS_u-boot-nodtb.bin as this pattern is used in rest of Makefile. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Marek Behún <kabel@kernel.org>
This commit is contained in:
parent
5af42eafd7
commit
e507be9ac6
2
Makefile
2
Makefile
@ -1266,7 +1266,7 @@ spl/u-boot-spl.srec: spl/u-boot-spl FORCE
|
|||||||
|
|
||||||
OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \
|
OBJCOPYFLAGS_u-boot-nodtb.bin := -O binary \
|
||||||
$(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec) \
|
$(if $(CONFIG_X86_16BIT_INIT),-R .start16 -R .resetvec) \
|
||||||
$(if $(CONFIG_MPC85XX_HAVE_RESET_VECTOR),$(if $(CONFIG_OF_EMBED),,-R .bootpg -R .resetvec))
|
$(if $(CONFIG_MPC85XX_HAVE_RESET_VECTOR),$(if $(CONFIG_OF_SEPARATE),-R .bootpg -R .resetvec))
|
||||||
|
|
||||||
binary_size_check: u-boot-nodtb.bin FORCE
|
binary_size_check: u-boot-nodtb.bin FORCE
|
||||||
@file_size=$(shell wc -c u-boot-nodtb.bin | awk '{print $$1}') ; \
|
@file_size=$(shell wc -c u-boot-nodtb.bin | awk '{print $$1}') ; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user