mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-05 19:41:43 +08:00
Migrate to buildtools.
This commit is contained in:
parent
7ad8c86733
commit
2e9b903904
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "buildtools"]
|
||||
path = buildtools
|
||||
url = git://github.com/Steveice10/buildtools
|
54
Makefile
54
Makefile
@ -1,12 +1,48 @@
|
||||
ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPRO")
|
||||
# TARGET #
|
||||
|
||||
TARGET := 3DS
|
||||
LIBRARY := 0
|
||||
|
||||
ifeq ($(TARGET),3DS)
|
||||
ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro")
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(DEVKITARM)),)
|
||||
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
|
||||
endif
|
||||
endif
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# BUILD_FLAGS: List of extra build flags to add.
|
||||
# ENABLE_EXCEPTIONS: Enable C++ exceptions.
|
||||
# NO_CITRUS: Do not include citrus.
|
||||
#---------------------------------------------------------------------------------
|
||||
BUILD_FLAGS := -DVERSION_STRING="\"`git describe --tags --abbrev=0`\""
|
||||
# COMMON CONFIGURATION #
|
||||
|
||||
include $(DEVKITPRO)/citrus/tools/make_base
|
||||
NAME := FBI
|
||||
|
||||
BUILD_DIR := build
|
||||
OUTPUT_DIR := output
|
||||
INCLUDE_DIRS := include
|
||||
SOURCE_DIRS := source
|
||||
|
||||
LIBRARY_DIRS := $(DEVKITPRO)/citrus $(DEVKITPRO)/libctru
|
||||
LIBRARIES := citrus ctru m
|
||||
|
||||
BUILD_FLAGS := -DVERSION_STRING="\"`git describe --tags --abbrev=0`\""
|
||||
RUN_FLAGS :=
|
||||
|
||||
# 3DS CONFIGURATION #
|
||||
|
||||
DESCRIPTION := Open source CIA installer.
|
||||
AUTHOR := Steveice10
|
||||
PRODUCT_CODE := CTR-P-CFBI
|
||||
UNIQUE_ID := 0x1930
|
||||
|
||||
SYSTEM_MODE := 64MB
|
||||
SYSTEM_MODE_EXT := Legacy
|
||||
|
||||
ROMFS_DIR :=
|
||||
BANNER_AUDIO := meta/audio.wav
|
||||
BANNER_IMAGE := meta/banner.png
|
||||
ICON := meta/icon.png
|
||||
|
||||
# INTERNAL #
|
||||
|
||||
include buildtools/make_base
|
||||
|
1
buildtools
Submodule
1
buildtools
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 1d304f54dcdd590c66ba8124a9e362d2d3153827
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 328 B |
@ -1,5 +0,0 @@
|
||||
APP_TITLE = FBI
|
||||
APP_DESCRIPTION = Open source CIA installer.
|
||||
APP_AUTHOR = Steveice10
|
||||
APP_PRODUCT_CODE = CTR-P-CFBI
|
||||
APP_UNIQUE_ID = 0x1930
|
Loading…
x
Reference in New Issue
Block a user