mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![Marian Balakowicz](/assets/img/avatar_default.png)
Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
27 lines
502 B
Makefile
27 lines
502 B
Makefile
#
|
|
# (C) Copyright 2002
|
|
# Gary Jennejohn, DENX Software Engineering, <gj@denx.de>
|
|
#
|
|
# TRAB board with S3C2400X (arm920t) cpu
|
|
#
|
|
# see http://www.samsung.com/ for more information on SAMSUNG
|
|
#
|
|
|
|
#
|
|
# TRAB has 1 bank of 16 MB or 32 MB DRAM
|
|
#
|
|
# 0c00'0000 to 0e00'0000
|
|
#
|
|
# Linux-Kernel is expected to be at 0c00'8000, entry 0c00'8000
|
|
#
|
|
# we load ourself to 0CF0'0000 / 0DF0'0000
|
|
#
|
|
# download areas is 0C80'0000
|
|
#
|
|
|
|
sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
|
|
|
|
ifndef TEXT_BASE
|
|
TEXT_BASE = 0x0DF40000
|
|
endif
|