From d0f97185a1b6d3be64668107a022af0ddfbae33e Mon Sep 17 00:00:00 2001 From: Ivan Velickovic Date: Thu, 11 Jan 2024 18:14:43 +1100 Subject: [PATCH] Do not package crt0.o in SDK Previously the linker script referred to crt0.o which is why it was necessary that it was part of the SDK. However, now libmicrokit.a contains crt0.o and so it is not necessary to continue distributing crt0.o separately. Signed-off-by: Ivan Velickovic --- build_sdk.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build_sdk.py b/build_sdk.py index 2a92cef6..d8e3f07a 100644 --- a/build_sdk.py +++ b/build_sdk.py @@ -312,13 +312,6 @@ def build_lib_component( # Make output read-only dest.chmod(0o444) - crt0 = build_dir / "crt0.o" - dest = lib_dir / "crt0.o" - dest.unlink(missing_ok=True) - copy(crt0, dest) - # Make output read-only - dest.chmod(0o444) - include_dir = root_dir / "board" / board.name / config.name / "include" source_dir = Path(component_name) / "include" for p in source_dir.rglob("*"):