blob: 465133fd7705fb1f9177c0cfb2c60b2b4996540d [file] [log] [blame]
#
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0 BSD-3-Clause
#
# 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 $@ $^
ALL-y += u-boot-align.bin
u-boot-align.bin: u-boot.bin
$(call if_changed,mkalign_eds)
HOSTCFLAGS_autoconf.mk.dep = -Wno-variadic-macros