blob: 0ddbf3d4ec98307d05ee7900a0624c96ffc05a95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
ifeq ($(cc-name),gcc)
# coreboot sdk
CROSS_COMPILE_X86_DEFAULT:=/opt/coreboot-sdk/bin/i386-elf-
else
# llvm sdk
CROSS_COMPILE_X86_DEFAULT:=
endif
$(call set-option,CROSS_COMPILE,\
$(CROSS_COMPILE_x86),\
$(CROSS_COMPILE_X86_DEFAULT))
|