xref: /openbmc/u-boot/board/intel/edison/config.mk (revision 63e22517)
1# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2#
3# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
4# Copyright (c) 2017 Intel Corporation
5#
6
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
18