Home
last modified time | relevance | path

Searched hist:"6 ba7d274e25276143c3855dfa1a087f292141a63" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/make_helpers/
H A Dbuild_macros.mk6ba7d274e25276143c3855dfa1a087f292141a63 Fri Apr 07 15:58:57 UTC 2017 Evan Lloyd <evan.lloyd@arm.com> Build: Fix parallel build

2 problems were found, but are in one change to avoid submitting a patch
that might fail to build. The problems were:
1. The macro MAKE_PREREQ_DIR has a minor bug, in that it is capable of
generating recursive dependencies.
2. The inclusion of BUILD_DIR in TEMP_OBJ_DIRS left no explicit
dependency, BUILD_DIR might not exist when subdirectories are
created by a thread on another CPU.

This fix corrects these with the following changes:
1. MAKE_PREREQ_DIR does nothing for a direct self dependency.
2. BUILD_DIR is built using MAKE_PREREQ_DIR.
3. BUILD_DIR is an explicit prerequisite of all OBJ_DIRS.

Change-Id: I938cddea4a006df225c02a47b9cf759212f27fb7

Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>