blob: 23b057e6c4ae88c79ac03b7cfcafe45ffe0c04da [file] [log] [blame]
Simon Glass3d750d72011-09-26 14:10:39 +00001# Copyright (c) 2011 The Chromium OS Authors.
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02002# SPDX-License-Identifier: GPL-2.0+
Simon Glass3d750d72011-09-26 14:10:39 +00003
Mike Frysinger2f60d142012-02-26 16:00:26 -05004PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE
Simon Glass62cf9122013-04-26 02:53:43 +00005PLATFORM_CPPFLAGS += -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD
Matthias Weisser0d3dd142011-11-29 12:16:40 +01006PLATFORM_LIBS += -lrt
Simon Glass62cf9122013-04-26 02:53:43 +00007
8# Support generic board on sandbox
9__HAVE_ARCH_GENERIC_BOARD := y
Masahiro Yamada9f9a4e92014-02-24 11:12:18 +090010
11cmd_u-boot__ = $(CC) -o $@ -T u-boot.lds \
12 -Wl,--start-group $(u-boot-main) -Wl,--end-group \
13 $(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map