Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit feaa8bf5 authored by Dmitrii's avatar Dmitrii Committed by Michael Bestas
Browse files

layoutlib: Use wildcard to find device overlays



The layoutlib_data.mk file uses `$(shell find ...)` to locate
device-specific framework overlays for a hardcoded list of products.

When a user's source tree does not contain all of these device
directories, the `find` command outputs a "No such file or directory"
error for each missing path, spamming the build log.

Replace the `shell find` call with the idiomatic GNU Make `wildcard`
function. `wildcard` correctly finds all existing files that match
the patterns without generating errors for non-existent paths.

This cleans up the build output and is slightly more efficient as it
avoids forking a shell process.

Change-Id: I2f4d6c593b073bd3955c0fd88d2cc699526e261c
Signed-off-by: default avatarDmitrii <bankersenator@gmail.com>
parent f824af24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment