2023-08-18 08:39:55 +02:00
|
|
|
.PHONY: package
|
|
|
|
|
|
|
|
export TOPDIR := $(shell pwd $(CURDIR))
|
|
|
|
export BASE := r4i-sdhc.com/$(shell basename $(CURDIR))
|
|
|
|
export OUT := $(TOPDIR)/../../../out
|
|
|
|
export COMMON := $(TOPDIR)/../../../common-kernels
|
|
|
|
|
2023-08-18 08:40:57 +02:00
|
|
|
package: directory r4i-sdhc.com_DEMON_1.85b.zip r4i-sdhc.com_DEMON_1.85b-notimebomb.zip
|
2023-08-18 08:39:55 +02:00
|
|
|
|
|
|
|
directory:
|
|
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
|
|
|
|
r4i-sdhc.com_DEMON_1.85b.zip: directory
|
|
|
|
cd $(TOPDIR)/r4i-sdhc.com_DEMON_1.85b && zip -r $(OUT)/$(BASE)/$@ *
|
2023-08-18 08:40:57 +02:00
|
|
|
|
|
|
|
r4i-sdhc.com_DEMON_1.85b-notimebomb.zip: directory
|
|
|
|
cd $(TOPDIR)/r4i-sdhc.com_DEMON_1.85b-notimebomb && zip -r $(OUT)/$(BASE)/$@ *
|