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