arm-trusted-firmware/tools/renesas/rcar_layout_create
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
..
makefile build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
sa0.c rcar_gen3: plat: Add initial D3 support 2019-04-02 03:40:51 +02:00
sa0.ld.S rcar-gen3: initial commit for the rcar-gen3 boards 2018-10-17 18:38:33 +02:00
sa6.c fix(rcar3): fix load address range check 2023-12-13 22:12:15 +01:00
sa6.ld.S rcar-gen3: initial commit for the rcar-gen3 boards 2018-10-17 18:38:33 +02:00