TEG/NE1EMU/MG20EMUを共通ディレクトリでビルドできるようにするため、ioreg*.hをプラットフォーム毎に分離。

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@301 b871894f-2f95-9b40-918c-086798483c85
This commit is contained in:
nakasima 2009-02-17 12:26:41 +00:00
parent 0631caae1e
commit f46ef3645e
5 changed files with 9 additions and 9 deletions

View File

@ -12,7 +12,7 @@
*---------------------------------------------------------------------------*/
#include <brom.h>
#include <ctr/hw/ARM11/ioreg_MI.h>
#include <ioreg_MI.h>
#include <brom/nand/nand.h>
#include "nandif_ip.h"

View File

@ -20,7 +20,7 @@ SUBDIRS =
#----------------------------------------------------------------------------
WORKDIR = ctr/hw/ARM11
WORKDIR = ctr/hw/ARM11/$(CTR_PLATFORM)
TARGET = $(WORKDIR)/ioreg.h
CSVSRC = io_register_list.csv

View File

@ -16,7 +16,7 @@
# $Author$
#----------------------------------------------------------------------------
WORKDIR = ctr/hw/ARM9
WORKDIR = ctr/hw/ARM9/$(CTR_PLATFORM)
TARGET = $(WORKDIR)/ioreg.h
CSVSRC = io_register_list_sp.csv

View File

@ -366,6 +366,7 @@ ROOT := $(call eupath,$(CTRSDK_ROOT))
CTR_BUILDTOOLSDIR := $(ROOT)/build/buildtools
CTR_BUILDSETUPDIR := $(ROOT)/build/buildsetup
CTR_INCDIR := $(ROOT)/include
CTR_IOREG_INCDIR := $(CTR_INCDIR)/ctr/hw/$(CTR_PROC)/$(CTR_PLATFORM)
CTR_TOOLSDIR := $(ROOT)/tools
CTR_COMPONENTSDIR := $(ROOT)/components
CTR_ADDINS ?= $(ROOT)/add-ins
@ -554,7 +555,8 @@ endif
DEFAULT_GINCLUDES = $(INCDIR) $(SRCDIR) \
$(CTRSYSTEM_INCDIR) $(CTRWIRELESS_INCDIR) \
$(CTR_INCDIR) $(ISD_INCDIRS)
$(CTR_INCDIR) $(ISD_INCDIRS) \
$(CTR_IOREG_INCDIR) \
DEFAULT_GLIBRARY_DIRS = $(LIBDIR) $(dir $(LIBSYSCALL_)) \
$(CTRSYSTEM_LIBDIR) $(CTRWIRELESS_LIBDIR) \

View File

@ -14,11 +14,9 @@
$Rev$
$Author$
*---------------------------------------------------------------------------*/
#include <ioreg.h>
#ifdef SDK_ARM11
#include <ctr/hw/ARM11/ioreg.h>
#ifdef SDK_NE1EMU
#include <ctr/hw/ARM11/ioreg_ne1patch.h>
#include <ioreg_ne1patch.h>
#endif // SDK_NE1EMU
#else //SDK_ARM9
#include <ctr/hw/ARM9/ioreg.h>
#endif
#endif // SDK_ARM11