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