1
0
mirror of https://github.com/cathery/sys-con.git synced 2024-12-24 15:13:45 +00:00

Only build libstratosphere

This commit is contained in:
cathery 2020-12-08 17:09:36 +03:00
parent dd5cf85f69
commit d6f8b3783e
4 changed files with 8 additions and 7 deletions

4
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "source/libstratosphere"]
path = source/libstratosphere
[submodule "source/Atmosphere-libs"]
path = source/Atmosphere-libs
url = https://github.com/Atmosphere-NX/Atmosphere-libs.git

View File

@ -1,11 +1,12 @@
COMPONENTS := libstratosphere AppletCompanion Sysmodule
Libstrat := Atmosphere-libs/libstratosphere
COMPONENTS := $(Libstrat) AppletCompanion Sysmodule
TOPTARGETS := all clean mrproper
.PHONY: $(TOPTARGETS) $(COMPONENTS)
all: $(COMPONENTS)
libstratosphere:
$(Libstrat):
@echo Building libstratosphere...
@$(MAKE) --no-print-directory -C $@
@ -13,7 +14,7 @@ AppletCompanion:
@echo Building applet companion...
@$(MAKE) --no-print-directory -C $@
Sysmodule: libstratosphere
Sysmodule: $(Libstrat)
@echo Building sysmodule...
@$(MAKE) --no-print-directory -C $@
@ -25,4 +26,4 @@ clean:
mrproper: clean
@echo Cleaning libstratosphere...
@$(MAKE) --no-print-directory -C libstratosphere clean
@$(MAKE) --no-print-directory -C $(Libstrat) clean

View File

@ -1,7 +1,7 @@
#---------------------------------------------------------------------------------
# pull in common stratosphere sysmodule configuration
#---------------------------------------------------------------------------------
include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/../libstratosphere/config/templates/stratosphere.mk
include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/../Atmosphere-libs/config/templates/stratosphere.mk
TARGET := sys-con
SOURCES += ../ControllerSwitch ../ControllerLib ../ControllerLib/Controllers ../inih