xref: /openbmc/u-boot/board/intel/edison/config.mk (revision e8f80a5a)
1*4549e789STom Rini# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2495f3774SAndy Shevchenko#
3495f3774SAndy Shevchenko# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
4495f3774SAndy Shevchenko# Copyright (c) 2017 Intel Corporation
5495f3774SAndy Shevchenko#
6495f3774SAndy Shevchenko
7495f3774SAndy Shevchenko# Add 4096 bytes of zeroes to u-boot.bin
8495f3774SAndy Shevchenkoquiet_cmd_mkalign_eds = EDSALGN $@
9495f3774SAndy Shevchenkocmd_mkalign_eds =							\
10495f3774SAndy Shevchenko	dd if=$^ of=$@ bs=4k seek=1 2>/dev/null &&			\
11495f3774SAndy Shevchenko	mv $@ $^
12495f3774SAndy Shevchenko
13495f3774SAndy ShevchenkoALL-y += u-boot-align.bin
14495f3774SAndy Shevchenkou-boot-align.bin: u-boot.bin
15495f3774SAndy Shevchenko	$(call if_changed,mkalign_eds)
16495f3774SAndy Shevchenko
17495f3774SAndy ShevchenkoHOSTCFLAGS_autoconf.mk.dep = -Wno-variadic-macros
18