mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
50662260c4
This function is defined by bootstd so using it precludes using that feature. Use the board_early_init_r() feature instead. Nove the affected code into a new file, so that it is clear that this relates to board init. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
17 lines
544 B
Makefile
17 lines
544 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2015 Google, Inc
|
|
|
|
obj-$(CONFIG_EFI_APP) += efi_app.o efi.o efi_app_init.o
|
|
obj-$(CONFIG_EFI_STUB) += efi_info.o
|
|
|
|
CFLAGS_REMOVE_efi_stub.o := -mregparm=3 \
|
|
$(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
|
|
CFLAGS_efi_stub.o := -fpic -fshort-wchar \
|
|
$(if $(CONFIG_EFI_STUB_64BIT),-m64)
|
|
CFLAGS_REMOVE_efi.o := -mregparm=3 \
|
|
$(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
|
|
CFLAGS_efi.o := -fpic -fshort-wchar \
|
|
$(if $(CONFIG_EFI_STUB_64BIT),-m64)
|
|
|
|
extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o
|