From 8b64ac226f349c72dcf0f1e79afbc8326333b120 Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Thu, 22 Aug 2024 03:00:11 -0700 Subject: [PATCH] Fix BL2CK logic in r4isdhc.hk It turns out dependencies only get built once, instead of every time the dep is called, so it needs to be cp until the last file, which is mv. TODO do this in a cleaner way. --- archive/r4isdhc.hk_2014-2019/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/archive/r4isdhc.hk_2014-2019/Makefile b/archive/r4isdhc.hk_2014-2019/Makefile index 62d713c..81e2485 100644 --- a/archive/r4isdhc.hk_2014-2019/Makefile +++ b/archive/r4isdhc.hk_2014-2019/Makefile @@ -13,8 +13,10 @@ directory: include $(COMMON)/BL2CK/R4iTT/Makefile r4isdhc.hk_Dual-Core_pre-2019_BL2CK_1.31.0.zip: BL2CK_1.31.0.zip - mv $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@ + cp $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@ +# Move instead of copy +# Works around issue of dependency not being rebuilt r4isdhc.hk_Silver_RTS_Lite_pre-2019_BL2CK_1.31.0.zip: BL2CK_1.31.0.zip mv $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@