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.
This commit is contained in:
lifehackerhansol 2024-08-22 03:00:11 -07:00
parent 5070bdc6c7
commit 8b64ac226f
No known key found for this signature in database
GPG Key ID: 80FB184AFC0B3B0E

View File

@ -13,8 +13,10 @@ directory:
include $(COMMON)/BL2CK/R4iTT/Makefile include $(COMMON)/BL2CK/R4iTT/Makefile
r4isdhc.hk_Dual-Core_pre-2019_BL2CK_1.31.0.zip: BL2CK_1.31.0.zip 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 r4isdhc.hk_Silver_RTS_Lite_pre-2019_BL2CK_1.31.0.zip: BL2CK_1.31.0.zip
mv $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@ mv $(OUT)/$(BASE)/$< $(OUT)/$(BASE)/$@