Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause |
Andy Shevchenko | d31315d | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 4 | # Copyright (c) 2017 Intel Corporation |
| 5 | # |
Andy Shevchenko | d31315d | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 6 | |
| 7 | # Add 4096 bytes of zeroes to u-boot.bin |
| 8 | quiet_cmd_mkalign_eds = EDSALGN $@ |
| 9 | cmd_mkalign_eds = \ |
| 10 | dd if=$^ of=$@ bs=4k seek=1 2>/dev/null && \ |
| 11 | mv $@ $^ |
| 12 | |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 13 | INPUTS-y += u-boot-align.bin |
Andy Shevchenko | d31315d | 2017-07-06 14:41:53 +0300 | [diff] [blame] | 14 | u-boot-align.bin: u-boot.bin |
| 15 | $(call if_changed,mkalign_eds) |
| 16 | |
| 17 | HOSTCFLAGS_autoconf.mk.dep = -Wno-variadic-macros |