config.mk 453 Bytes
Newer Older
Simon Glass's avatar
Simon Glass committed
1
# Copyright (c) 2011 The Chromium OS Authors.
2
# SPDX-License-Identifier:	GPL-2.0+
Simon Glass's avatar
Simon Glass committed
3

4
PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE
5
PLATFORM_CPPFLAGS += -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD
6
PLATFORM_LIBS += -lrt
7 8 9

# Support generic board on sandbox
__HAVE_ARCH_GENERIC_BOARD := y
10 11 12 13

cmd_u-boot__ = $(CC) -o $@ -T u-boot.lds \
	-Wl,--start-group $(u-boot-main) -Wl,--end-group \
	$(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map