mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 10:26:10 +01:00 
			
		
		
		
	When binman is in use, most of the targets built by the Makefile are inputs to binman. We then need a final rule to run binman to produce the final outputs. Rename the variable to indicate this, and add a new 'inputs' target. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			465 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			465 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
 | |
| #
 | |
| # Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
 | |
| # Copyright (c) 2017 Intel Corporation
 | |
| #
 | |
| 
 | |
| # Add 4096 bytes of zeroes to u-boot.bin
 | |
| quiet_cmd_mkalign_eds = EDSALGN $@
 | |
| cmd_mkalign_eds =							\
 | |
| 	dd if=$^ of=$@ bs=4k seek=1 2>/dev/null &&			\
 | |
| 	mv $@ $^
 | |
| 
 | |
| INPUTS-y += u-boot-align.bin
 | |
| u-boot-align.bin: u-boot.bin
 | |
| 	$(call if_changed,mkalign_eds)
 | |
| 
 | |
| HOSTCFLAGS_autoconf.mk.dep = -Wno-variadic-macros
 |