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

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 # list of directories containing libraries, this must be the top level containing
# include and lib # include and lib
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/../libusbhsfs LIBDIRS := $(PORTLIBS) $(LIBNX) $(CURDIR)/libusbhsfs
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
@ -159,13 +159,17 @@ endif
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
all: $(BUILD) all: $(BUILD)
$(BUILD): usbhsfs:
@$(MAKE) --no-print-directory -C libusbhsfs release
$(BUILD): usbhsfs
@[ -d $@ ] || mkdir -p $@ @[ -d $@ ] || mkdir -p $@
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
clean: clean:
@echo clean ... @echo clean ...
@$(MAKE) --no-print-directory -C libusbhsfs clean
@rm -fr $(BUILD) $(TARGET).pfs0 $(TARGET).nso $(TARGET).nro $(TARGET).nacp $(TARGET).elf @rm -fr $(BUILD) $(TARGET).pfs0 $(TARGET).nso $(TARGET).nro $(TARGET).nacp $(TARGET).elf

1
libusbhsfs Submodule

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