summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTaylor Hutt <thutt@chromium.org>2011-11-09 08:00:28 -0800
committerTaylor Hutt <thutt@chromium.org>2011-11-09 10:30:19 -0800
commit6353ed0450b17ae67162b227155d0a6f15cc6b00 (patch)
tree0fec829a0cfa0dcaa76a108b67f72dff566187e7 /Makefile
parent70ad334d912f12de345dcbb9132690fd161ae5f3 (diff)
downloadadhd-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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9f3b1c47..1eb606bb 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ all: gavd adhdinfo
adhdinfo gavd:: lib
lib gavd adhdinfo::
- @$(call remake,$@)
+ @$(call remake,Building,$@,$@)
clean:
@rm -rf $(ADHD_BUILD_DIR)