From 0a54b7995b3126ca3f402a12ab8dd1d355be3831 Mon Sep 17 00:00:00 2001 From: nakasima Date: Tue, 20 Jan 2009 10:26:03 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88?= =?UTF-8?q?=E3=82=92NE1EMU=E3=81=B8=E3=80=82=20thread=E3=83=87=E3=83=A2?= =?UTF-8?q?=E3=81=AE=E3=82=BD=E3=83=BC=E3=82=B9=E3=82=92bootrom=E3=81=8B?= =?UTF-8?q?=E3=82=89tests=E3=81=B8=E7=A7=BB=E5=8B=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@189 b871894f-2f95-9b40-918c-086798483c85 --- trunk/bootrom/build/bootrom/teg-dev/ARM11/Makefile | 13 ++++++++++++- trunk/bootrom/build/bootrom/thread/ARM11/Makefile | 3 ++- trunk/bootrom/build/bootrom/thread/ARM9/Makefile | 3 ++- .../build/{bootrom => tests}/thread/ARM11/main.c | 0 .../build/{bootrom => tests}/thread/ARM9/main.c | 0 trunk/setup | 2 +- 6 files changed, 17 insertions(+), 4 deletions(-) rename trunk/bootrom/build/{bootrom => tests}/thread/ARM11/main.c (100%) rename trunk/bootrom/build/{bootrom => tests}/thread/ARM9/main.c (100%) diff --git a/trunk/bootrom/build/bootrom/teg-dev/ARM11/Makefile b/trunk/bootrom/build/bootrom/teg-dev/ARM11/Makefile index cf95b8d..a0e8105 100644 --- a/trunk/bootrom/build/bootrom/teg-dev/ARM11/Makefile +++ b/trunk/bootrom/build/bootrom/teg-dev/ARM11/Makefile @@ -26,14 +26,25 @@ SUBDIRS = TARGET_BIN = teg_dev11.padbin +CRT0_O = + SRCS = \ - main.c \ + crt0.c \ + crt0_secure.c \ + crt0_excp.c \ + +#SRCS = \ +# main.c \ #SRCDIR = # using default #LCFILE = # using default include $(CTRBROM_ROOT)/build/buildtools/commondefs +SRCDIR = . \ + $(ROOT)/bootrom/build/libraries/init/ARM11 \ + $(ROOT)/bootrom/build/libraries/init/common \ + INSTALL_DIR = .. INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN_BASENAME).axf diff --git a/trunk/bootrom/build/bootrom/thread/ARM11/Makefile b/trunk/bootrom/build/bootrom/thread/ARM11/Makefile index cf38a50..ee132c4 100644 --- a/trunk/bootrom/build/bootrom/thread/ARM11/Makefile +++ b/trunk/bootrom/build/bootrom/thread/ARM11/Makefile @@ -29,11 +29,12 @@ TARGET_BIN = thread11.padbin SRCS = \ main.c \ -#SRCDIR = # using default #LCFILE = # using default include $(CTRBROM_ROOT)/build/buildtools/commondefs +SRCDIR = . $(ROOT)/bootrom/build/tests/thread/ARM11 \ + INSTALL_DIR = .. INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN_BASENAME).axf diff --git a/trunk/bootrom/build/bootrom/thread/ARM9/Makefile b/trunk/bootrom/build/bootrom/thread/ARM9/Makefile index bedac83..01c0876 100644 --- a/trunk/bootrom/build/bootrom/thread/ARM9/Makefile +++ b/trunk/bootrom/build/bootrom/thread/ARM9/Makefile @@ -31,11 +31,12 @@ TARGET_BIN = thread9.padbin SRCS = \ main.c \ -#SRCDIR = # using default #LCFILE = # using default include $(CTRBROM_ROOT)/build/buildtools/commondefs +SRCDIR = . $(ROOT)/bootrom/build/tests/thread/ARM9 \ + INSTALL_DIR = .. INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN_BASENAME).axf diff --git a/trunk/bootrom/build/bootrom/thread/ARM11/main.c b/trunk/bootrom/build/tests/thread/ARM11/main.c similarity index 100% rename from trunk/bootrom/build/bootrom/thread/ARM11/main.c rename to trunk/bootrom/build/tests/thread/ARM11/main.c diff --git a/trunk/bootrom/build/bootrom/thread/ARM9/main.c b/trunk/bootrom/build/tests/thread/ARM9/main.c similarity index 100% rename from trunk/bootrom/build/bootrom/thread/ARM9/main.c rename to trunk/bootrom/build/tests/thread/ARM9/main.c diff --git a/trunk/setup b/trunk/setup index 7709b56..fdecc8b 100644 --- a/trunk/setup +++ b/trunk/setup @@ -8,7 +8,7 @@ export CTRFIRM_ROOT=`cygpath -m $PWD` export CTRBROM_ROOT=$CTRFIRM_ROOT/bootrom export CTRSDK_ROOT=$CTRFIRM_ROOT -export CTR_PLATFORM='MG20EMU' +export CTR_PLATFORM='NE1EMU' export BROM_PLATFORM=$CTR_PLATFORM export CYGPATH_NOCMD='TRUE'