diff options
author | Taylor Hutt <thutt@chromium.org> | 2011-11-09 08:00:28 -0800 |
---|---|---|
committer | Taylor Hutt <thutt@chromium.org> | 2011-11-09 10:30:19 -0800 |
commit | 6353ed0450b17ae67162b227155d0a6f15cc6b00 (patch) | |
tree | 0fec829a0cfa0dcaa76a108b67f72dff566187e7 /Makefile | |
parent | 70ad334d912f12de345dcbb9132690fd161ae5f3 (diff) | |
download | adhd-6353ed0450b17ae67162b227155d0a6f15cc6b00.tar.gz |
ADHD: Address deficiency in recursive build
Details
The original implementation of 'remake' did not allow correctly
allow recursion of more than one level.
This change adds a 'REL_DIR' variable which holds the relative
directory from the base of the source tree and the build tree. It
facilitates multi-level recursion by dynamically creating the path
to the source input and build output on-the-fly, rather than always
having it expected to be the root directory of the tree.
Testing
Built product; booted tegra2_aebl.
Noted that gavd runs properly.
BUG=chromium-os:19558
TEST=See above.
Change-Id: I9b98c0d8efd87f4a6daae383d3b22d73f2ab5fe9
Signed-off-by: Taylor Hutt <thutt@chromium.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ all: gavd adhdinfo adhdinfo gavd:: lib lib gavd adhdinfo:: - @$(call remake,$@) + @$(call remake,Building,$@,$@) clean: @rm -rf $(ADHD_BUILD_DIR) |