From 8cecae4f3d505962bf5c494358342103fec0dab9 Mon Sep 17 00:00:00 2001 From: James McGregor Date: Mon, 26 Feb 2024 09:20:55 +0000 Subject: [PATCH] cmake: Update Makefile.cmake to list product subdirectories Some products are now grouped under a directory like neoverse-rd. This patch lets these be displayed when running the help command. Signed-off-by: James McGregor Change-Id: Iffcc099cc5e415c2227a2689dace58bea66be6c7 --- Makefile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.cmake b/Makefile.cmake index 1ca156db9..d77ad1c91 100644 --- a/Makefile.cmake +++ b/Makefile.cmake @@ -119,7 +119,7 @@ ENABLE_COVERAGE ?= $(DEFAULT_ENABLE_COVERAGE) # # Products # -PRODUCTS := $(shell ls $(PRODUCTS_DIR) 2>/dev/null) +PRODUCTS := $(sort $(shell find product -name "product.mk" -printf "%h\n" | cut -d'/' -f2-3)) # # Deprecated Products/Platforms