arm-trusted-firmware/plat
Chris Kay f4dd18c270 build: consolidate directory creation rules
This commit streamlines directory creation by introducing a single
pattern rule to automatically make directories for which there is a
dependency.

We currently use several macros to generate rules to create directories
upon dependence, which is a significant amount of code and a lot of
redundancy. The rule introduced by this change represents a catch-all:
any rule dependency on a path ending in a forward slash is automatically
created.

Now, rules can rely on an unordered dependency (`|`) on `$$(@D)/` which,
when secondary expansion is enabled, expands to the directory of the
target being built, e.g.:

    build/main.o: main.c | $$(@D)/ # automatically creates `build/`

Change-Id: I7e554efa2ac850e779bb302fd9c7fbb239886c9f
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-07-22 09:41:30 +00:00
..
allwinner fix(allwinner): remove unneeded header inclusion 2024-06-10 15:56:29 +01:00
amd/versal2 feat(versal2): add support for AMD Versal Gen 2 platform 2024-06-10 08:09:49 +02:00
amlogic build: unify verbosity handling 2024-06-14 15:54:48 +00:00
arm feat(fvp): add SPM manifest for OP-TEE at S-EL1 without S-EL2/Hafnium 2024-07-15 17:15:01 +01:00
aspeed/ast2700 feat(ast2700): set up CPU clock frequency by SCU 2024-07-02 16:05:36 +08:00
brcm refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
common feat(bl): add plat handler for image loading 2024-06-13 11:30:29 +02:00
hisilicon build: unify verbosity handling 2024-06-14 15:54:48 +00:00
imx build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
intel/soc Merge "fix(intel): f2sdram bridge quick write thru failed" into integration 2024-07-19 15:53:17 +02:00
marvell build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
mediatek build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
nuvoton fix(nuvoton): prevent changing clock frequency 2024-03-26 16:44:07 +02:00
nvidia/tegra refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
nxp build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
qemu Merge "fix(qemu): remove validate_ns_entrypoint" into integration 2024-07-09 15:58:14 +02:00
qti chore: remove MULTI_CONSOLE_API references 2023-09-12 15:28:36 +02:00
renesas build: unify verbosity handling 2024-06-14 15:54:48 +00:00
rockchip build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
rpi Merge "feat(rpi5): add PCI SMCCC support" into integration 2024-07-09 12:39:13 +02:00
socionext build: unify verbosity handling 2024-06-14 15:54:48 +00:00
st build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
ti/k3 Revert "fix(ti): do not take system power reference in bl31_platform_setup()" 2024-02-05 10:45:48 +05:30
xilinx feat(zynqmp): move zynqmp platform to xlat tables v2 2024-07-04 09:19:20 +00:00