Simon Glass | 3d750d7 | 2011-09-26 14:10:39 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 The Chromium OS Authors. |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 2 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 3d750d7 | 2011-09-26 14:10:39 +0000 | [diff] [blame] | 3 | |
Mike Frysinger | 2f60d14 | 2012-02-26 16:00:26 -0500 | [diff] [blame] | 4 | PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE |
Simon Glass | 62cf912 | 2013-04-26 02:53:43 +0000 | [diff] [blame] | 5 | PLATFORM_CPPFLAGS += -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD |
Matthias Weisser | 0d3dd14 | 2011-11-29 12:16:40 +0100 | [diff] [blame] | 6 | PLATFORM_LIBS += -lrt |
Simon Glass | 62cf912 | 2013-04-26 02:53:43 +0000 | [diff] [blame] | 7 | |
| 8 | # Support generic board on sandbox |
| 9 | __HAVE_ARCH_GENERIC_BOARD := y |
Masahiro Yamada | 9f9a4e9 | 2014-02-24 11:12:18 +0900 | [diff] [blame] | 10 | |
| 11 | cmd_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 |