From 9dde1721442a6ed103a9a21df70cda0ac630da30 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 27 May 2024 15:44:04 +0900 Subject: [PATCH] Makefile: separate the target to create empty dummy libraries During develompment, it's sometimes convenient to have a separate target. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 812790f0..f7c82727 100644 --- a/Makefile +++ b/Makefile @@ -785,7 +785,7 @@ endif libc: include_dirs $(STATIC_LIBS) -finish: startup_files libc +dummy_libs: # # Create empty placeholder libraries. # @@ -793,6 +793,7 @@ finish: startup_files libc $(AR) crs "$(SYSROOT_LIB)/lib$${name}.a"; \ done +finish: startup_files libc dummy_libs # # The build succeeded! The generated sysroot is in $(SYSROOT). # @@ -989,4 +990,4 @@ clean: $(RM) -r "$(OBJDIR)" $(RM) -r "$(SYSROOT)" -.PHONY: default startup_files libc libc_so finish install include_dirs clean check-symbols bindings +.PHONY: default startup_files libc libc_so dummy_libs finish install include_dirs clean check-symbols bindings