From 76986da62e7d62d84693a6b534ac232f5720cc3a Mon Sep 17 00:00:00 2001 From: Pat Pannuto Date: Wed, 23 Oct 2024 16:13:16 -0700 Subject: [PATCH] remove unneeded patch file --- newlib/Makefile | 4 ++-- newlib/newlib-4.4.0.20231231.patch | 0 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 newlib/newlib-4.4.0.20231231.patch diff --git a/newlib/Makefile b/newlib/Makefile index 63f3bcc46..1ad83f166 100644 --- a/newlib/Makefile +++ b/newlib/Makefile @@ -50,8 +50,8 @@ rebuild-newlib: newlib-$(NEWLIB_VERSION) @mkdir -p libtock-newlib-$(NEWLIB_VERSION)/riscv @cp -r newlib-arm-$(NEWLIB_VERSION)-install/arm-none-eabi libtock-newlib-$(NEWLIB_VERSION)/arm @cp -r newlib-riscv-$(NEWLIB_VERSION)-install/$(TOOLCHAIN_rv32i) libtock-newlib-$(NEWLIB_VERSION)/riscv - @cd libtock-newlib-$(NEWLIB_VERSION)/arm/arm-none-eabi; patch -p1 < ../../../newlib-$(NEWLIB_VERSION).patch - @cd libtock-newlib-$(NEWLIB_VERSION)/riscv/$(TOOLCHAIN_rv32i); patch -p1 < ../../../newlib-$(NEWLIB_VERSION).patch + @cd libtock-newlib-$(NEWLIB_VERSION)/arm/arm-none-eabi; [ -f ../../../newlib-$(NEWLIB_VERSION).patch ] && patch -p1 < ../../../newlib-$(NEWLIB_VERSION).patch + @cd libtock-newlib-$(NEWLIB_VERSION)/riscv/$(TOOLCHAIN_rv32i); [ -f ../../../newlib-$(NEWLIB_VERSION).patch ] && patch -p1 < ../../../newlib-$(NEWLIB_VERSION).patch @mv newlib-arm-$(NEWLIB_VERSION)-out/build-arm.log newlib-riscv-$(NEWLIB_VERSION)-out/build-riscv.log libtock-newlib-$(NEWLIB_VERSION) @zip -r libtock-newlib-$(NEWLIB_VERSION).zip libtock-newlib-$(NEWLIB_VERSION) @echo "" diff --git a/newlib/newlib-4.4.0.20231231.patch b/newlib/newlib-4.4.0.20231231.patch deleted file mode 100644 index e69de29bb..000000000