config.mk 462 B

1234567891011121314151617
  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. # Add 4096 bytes of zeroes to u-boot.bin
  7. quiet_cmd_mkalign_eds = EDSALGN $@
  8. cmd_mkalign_eds = \
  9. dd if=$^ of=$@ bs=4k seek=1 2>/dev/null && \
  10. mv $@ $^
  11. ALL-y += u-boot-align.bin
  12. u-boot-align.bin: u-boot.bin
  13. $(call if_changed,mkalign_eds)
  14. HOSTCFLAGS_autoconf.mk.dep = -Wno-variadic-macros