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
|
|
|
|
|
2023-08-30 20:18:03 +02:00
|
|
|
package: directory r4isdhc.hk_Dual-Core_pre-2019_BL2CK_1.31.0.zip r4isdhc.hk_Silver_RTS_Lite_pre-2019_BL2CK_1.31.0.zip old extdata
|
2023-08-13 18:46:40 +02:00
|
|
|
|
|
|
|
directory:
|
|
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
|
2023-08-15 21:17:00 +02:00
|
|
|
include $(COMMON)/BL2CK/R4iTT/Makefile
|
2023-08-13 18:46:40 +02:00
|
|
|
|
2023-08-30 20:18:03 +02:00
|
|
|
r4isdhc.hk_Dual-Core_pre-2019_BL2CK_1.31.0.zip: BL2CK_1.31.0.zip
|
2024-08-22 12:00:11 +02:00
|
|
|
cp $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@
|
2023-08-15 21:17:00 +02:00
|
|
|
|
2024-08-22 12:00:11 +02:00
|
|
|
# Move instead of copy
|
|
|
|
# Works around issue of dependency not being rebuilt
|
2023-08-30 20:18:03 +02:00
|
|
|
r4isdhc.hk_Silver_RTS_Lite_pre-2019_BL2CK_1.31.0.zip: BL2CK_1.31.0.zip
|
2023-08-15 21:17:00 +02:00
|
|
|
mv $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@
|
2023-08-13 18:46:40 +02:00
|
|
|
|
|
|
|
old: directory
|
|
|
|
make -C $@
|
|
|
|
|
|
|
|
extdata: directory
|
|
|
|
cp -r r4isdhc.hk_2014-2017_FWUpdate* README.txt $(OUT)/$(BASE)
|