mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
4379ac6148
Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for pointing to the top of source directory. (No difference between the two.) In Kbuild style, $(srctree) is used instead. This commit renames TOPDIR to srctree and delete the defition of TOPDIR. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
27 lines
499 B
Makefile
27 lines
499 B
Makefile
#
|
|
# (C) Copyright 2002
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
#
|
|
# Korat (PPC440EPx) board
|
|
#
|
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_440=1
|
|
|
|
ifeq ($(debug),1)
|
|
PLATFORM_CPPFLAGS += -DDEBUG
|
|
endif
|
|
|
|
ifeq ($(emul),1)
|
|
PLATFORM_CPPFLAGS += -fno-schedule-insns -fno-schedule-insns2
|
|
endif
|
|
|
|
ifeq ($(dbcr),1)
|
|
PLATFORM_CPPFLAGS += -DCONFIG_SYS_INIT_DBCR=0x8CFF0000
|
|
endif
|
|
|
|
ifndef CONFIG_KORAT_PERMANENT
|
|
LDSCRIPT := $(srctree)/board/$(BOARDDIR)/u-boot-F7FC.lds
|
|
endif
|