Add libusbhsfs submodule.

This commit is contained in:
Pablo Curiel 2020-11-23 21:45:20 -04:00
parent 477c321773
commit 32c134ca4e
3 changed files with 10 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "libusbhsfs"]
path = libusbhsfs
url = https://github.com/DarkMatterCore/libusbhsfs

View File

@ -75,7 +75,7 @@ LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lxml2 -lz -lusbhsfs -lnx -ljso
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/../libusbhsfs
LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/libusbhsfs
#---------------------------------------------------------------------------------
@ -159,13 +159,17 @@ endif
#---------------------------------------------------------------------------------
all: $(BUILD)
$(BUILD):
usbhsfs:
@$(MAKE) --no-print-directory -C libusbhsfs release
$(BUILD): usbhsfs
@[ -d $@ ] || mkdir -p $@
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
#---------------------------------------------------------------------------------
clean:
@echo clean ...
@$(MAKE) --no-print-directory -C libusbhsfs clean
@rm -fr $(BUILD) $(TARGET).pfs0 $(TARGET).nso $(TARGET).nro $(TARGET).nacp $(TARGET).elf

1
libusbhsfs Submodule

@ -0,0 +1 @@
Subproject commit 156ab3dff04351df57c338c0e4458eff8016d70b