mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
ad0fed46b9
Move sandbox-specific link rule to arch/sandbox/config.mk. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
13 lines
453 B
Makefile
13 lines
453 B
Makefile
# Copyright (c) 2011 The Chromium OS Authors.
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_SANDBOX -D__SANDBOX__ -U_FORTIFY_SOURCE
|
|
PLATFORM_CPPFLAGS += -DCONFIG_ARCH_MAP_SYSMEM -DCONFIG_SYS_GENERIC_BOARD
|
|
PLATFORM_LIBS += -lrt
|
|
|
|
# Support generic board on sandbox
|
|
__HAVE_ARCH_GENERIC_BOARD := y
|
|
|
|
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
|