2023-08-13 18:46:40 +02:00
|
|
|
.PHONY: package
|
|
|
|
|
2024-10-03 22:52:05 +02:00
|
|
|
export TOPDIR := $(CURDIR)
|
2023-08-13 18:46:40 +02:00
|
|
|
export BASE := $(shell basename $(CURDIR))
|
|
|
|
export OUT := $(TOPDIR)/../../out
|
|
|
|
export COMMON := $(TOPDIR)/../../common-kernels
|
|
|
|
|
|
|
|
package: directory stargate-3ds.com_Kernel_1.0.zip extdata
|
|
|
|
|
|
|
|
directory:
|
|
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
|
|
|
|
stargate-3ds.com_Kernel_1.0.zip: directory
|
2024-01-15 06:59:35 +01:00
|
|
|
cd $(TOPDIR)/stargate-3ds.com_Kernel_1.0 && zip -r $(OUT)/$(BASE)/$@ *
|
2023-08-13 18:46:40 +02:00
|
|
|
|
|
|
|
extdata: directory
|
2024-10-29 16:33:00 +01:00
|
|
|
cp -r SG_Launcher_CFW README.txt $(OUT)/$(BASE)
|