1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-22 18:26:39 +00:00

Add Borealis as a git submodule.

This commit is contained in:
Pablo Curiel 2021-03-25 22:49:59 -04:00
parent c6c5667bf0
commit e92c6e536b
4 changed files with 11 additions and 4 deletions

6
.gitmodules vendored
View file

@ -1,4 +1,8 @@
[submodule "libusbhsfs"]
path = libusbhsfs
path = libs/libusbhsfs
url = https://github.com/DarkMatterCore/libusbhsfs
branch = dev
[submodule "libs/borealis"]
path = libs/borealis
url = https://github.com/natinusala/borealis
branch = main

View file

@ -76,11 +76,13 @@ LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) -Wl,-Map,$(notdir $*
LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lxml2 -lz -lusbhsfs -lntfs-3g -llwext4 -lnx -ljson-c -lm -lturbojpeg
LIBUSBHSFS_DIR := $(CURDIR)/libs/libusbhsfs
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/libusbhsfs
LIBDIRS := $(PORTLIBS) $(LIBNX) $(LIBUSBHSFS_DIR)
#---------------------------------------------------------------------------------
@ -165,7 +167,7 @@ endif
all: $(BUILD)
usbhsfs:
@$(MAKE) --no-print-directory -C libusbhsfs BUILD_TYPE=GPL release
@$(MAKE) --no-print-directory -C $(LIBUSBHSFS_DIR) BUILD_TYPE=GPL release
$(BUILD): usbhsfs
@[ -d $@ ] || mkdir -p $@
@ -177,7 +179,7 @@ clean:
@rm -fr $(BUILD) *.pfs0 *.nso *.nro *.nacp *.elf
clean_all: clean
@$(MAKE) --no-print-directory -C libusbhsfs clean
@$(MAKE) --no-print-directory -C $(LIBUSBHSFS_DIR) clean
#---------------------------------------------------------------------------------
else

1
libs/borealis Submodule

@ -0,0 +1 @@
Subproject commit 7a9a085b9850e56291d71511bc78680e0a5ef5d2