mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 07:58:52 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
28 lines
499 B
Makefile
28 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
|