diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-02-27 13:57:13 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-23 08:57:29 +0000 |
commit | 409b77c4e6d69969a127995190fa1a7d672c51f0 (patch) | |
tree | d1f122c347b1c58928575d0d723e4586d5ac7d19 | |
parent | bbadc7cb068dbf942ae526acc0fb0e190bd9eca0 (diff) | |
download | vboot-409b77c4e6d69969a127995190fa1a7d672c51f0.tar.gz |
Do not litter the source directory with build artifacts
Before, building locally left a file named "vboot_host.pc" in the
top directory.
With this change, it's put into the $BUILD directory where it
belongs.
It still gets installed into the same place, of course.
BUG=chromium:459338
BRANCH=none
TEST=make runtests, and
Run:
make test_setup MINIMAL=
make test_setup MINIMAL=1
find . -name vboot_host.pc
Before this CL:
./build/install_for_test/usr/lib/pkgconfig/vboot_host.pc
./build/install_for_test/lib/pkgconfig/vboot_host.pc
./vboot_host.pc
After this CL:
./build/install_for_test/usr/lib/pkgconfig/vboot_host.pc
./build/install_for_test/lib/pkgconfig/vboot_host.pc
./build/vboot_host.pc
Change-Id: I3a888f72a5753228eec5187178d0da22de782171
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/254712
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Nam Nguyen <namnguyen@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/261735
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1419,7 +1419,7 @@ tags TAGS xrefs: ${BUILD}/cscope.files ${Q}$(call run_if_prog,etags,${cmd_etags}) ${Q}$(call run_if_prog,ctags,${cmd_ctags}) -PC_FILES = ${PC_IN_FILES:%.pc.in=%.pc} +PC_FILES = ${PC_IN_FILES:%.pc.in=${BUILD}/%.pc} ${PC_FILES}: ${PC_IN_FILES} ${Q}sed \ -e 's:@LDLIBS@:${LDLIBS}:' \ @@ -1429,4 +1429,4 @@ ${PC_FILES}: ${PC_IN_FILES} .PHONY: pc_files_install pc_files_install: ${PC_FILES} ${Q}mkdir -p ${ULP_DIR} - ${Q}${INSTALL} -D -m 0644 $< ${ULP_DIR}/$< + ${Q}${INSTALL} -D -m 0644 $< ${ULP_DIR}/$(notdir $<) |