From 1931b3aa99059c8c83319e7515e6b5ff1392ca2d Mon Sep 17 00:00:00 2001 From: Christoph Fassbach Date: Mon, 27 Jun 2022 11:30:38 +0200 Subject: [PATCH 1/2] Try having 3.9 and 3.2 at the same time --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ee86c58..20a7c55 100644 --- a/Makefile +++ b/Makefile @@ -714,7 +714,9 @@ $(BUILD)/ndk-include_proto: $(PROJECTS)/$(NDK_FOLDER_NAME).info @echo "done" >$@ $(PROJECTS)/$(NDK_FOLDER_NAME).info: $(BUILD)/_lha_done $(DOWNLOAD)/$(NDK_ARC_NAME).lha $(shell find 2>/dev/null patches/$(NDK_FOLDER_NAME)/ -type f) - $(L0)"unpack ndk"$(L1) cd $(PROJECTS) && lha xfw=NDK3.2 $(DOWNLOAD)/$(NDK_ARC_NAME).lha $(L2) + $(L0)"unpack ndk"$(L1) && cd $(PROJECTS) && if [[ $(NDK) == "3.2" ]] ; \ + then mkdir NDK3.2 ; cd NDK3.2 ; fi ; \ + lha xf $(DOWNLOAD)/$(NDK_ARC_NAME).lha $(L2) @touch -t 0001010000 $(DOWNLOAD)/$(NDK_ARC_NAME).lha $(L0)"patch ndk"$(L1) for i in $$(find patches/$(NDK_FOLDER_NAME)/ -type f); do \ if [[ "$$i" == *.diff ]] ; \ From 97e1a5d98beb1040a7f90107c662ce27cfbdf161 Mon Sep 17 00:00:00 2001 From: Christoph Fassbach Date: Mon, 27 Jun 2022 11:43:25 +0200 Subject: [PATCH 2/2] Try having 3.9 and 3.2 at the same time --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 20a7c55..a050a01 100644 --- a/Makefile +++ b/Makefile @@ -714,7 +714,7 @@ $(BUILD)/ndk-include_proto: $(PROJECTS)/$(NDK_FOLDER_NAME).info @echo "done" >$@ $(PROJECTS)/$(NDK_FOLDER_NAME).info: $(BUILD)/_lha_done $(DOWNLOAD)/$(NDK_ARC_NAME).lha $(shell find 2>/dev/null patches/$(NDK_FOLDER_NAME)/ -type f) - $(L0)"unpack ndk"$(L1) && cd $(PROJECTS) && if [[ $(NDK) == "3.2" ]] ; \ + $(L0)"unpack ndk"$(L1) cd $(PROJECTS) && if [[ $(NDK_ARC_NAME) == "NDK3.2" ]] ; \ then mkdir NDK3.2 ; cd NDK3.2 ; fi ; \ lha xf $(DOWNLOAD)/$(NDK_ARC_NAME).lha $(L2) @touch -t 0001010000 $(DOWNLOAD)/$(NDK_ARC_NAME).lha