From a874fe29e41bba35ee6504ff9f30cc48dcbc37a6 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 9 May 2025 10:23:05 -0600 Subject: [PATCH] Add target for finding recipe --- mk/repo.mk | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mk/repo.mk b/mk/repo.mk index b824ef2b..3f6ad787 100644 --- a/mk/repo.mk +++ b/mk/repo.mk @@ -29,6 +29,17 @@ else touch $@ endif +# Find recipe +find.%: $(FSTOOLS_TAG) FORCE +ifeq ($(PODMAN_BUILD),1) + $(PODMAN_RUN) $(MAKE) $@ +else + export PATH="$(PREFIX_PATH):$$PATH" && \ + export COOKBOOK_HOST_SYSROOT="$(ROOT)/$(PREFIX_INSTALL)" && \ + cd cookbook && \ + target/release/find_recipe $* +endif + # Invoke clean.sh for a single target c.%: $(FSTOOLS_TAG) FORCE ifeq ($(PODMAN_BUILD),1) @@ -87,6 +98,6 @@ uc.%: $(FSTOOLS_TAG) FORCE $(MAKE) u.$* $(MAKE) c.$* -ucf.%: (FSTOOLS_TAG) FORCE +ucf.%: $(FSTOOLS_TAG) FORCE $(MAKE) uc.$* $(MAKE) f.$*