summaryrefslogtreecommitdiff
path: root/package/perf/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-26 08:13:08 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-26 08:20:15 -0500
commit3f79a66f3fbe2c8d6b595c2dde6e36e06c1e19f0 (patch)
tree5f528d4b4644e4566e19ea4f1598ac4f7c873ada /package/perf/Makefile
parent9550f70e71928ee936170d11f4984a42b3e717f0 (diff)
remove -C $(LINUX_DIR) from OPTS variable
Otherwise toolchain only compiling of gcc is failing while trying to install header files.
Diffstat (limited to 'package/perf/Makefile')
-rw-r--r--package/perf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/perf/Makefile b/package/perf/Makefile
index 75bd8efe4..a36d9bae8 100644
--- a/package/perf/Makefile
+++ b/package/perf/Makefile
@@ -28,11 +28,11 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
do-build:
- $(KERNEL_MAKE_ENV) GCC_HONOUR_COPTS=0 $(MAKE) \
+ $(KERNEL_MAKE_ENV) GCC_HONOUR_COPTS=0 $(MAKE) -C "${LINUX_DIR}" \
$(KERNEL_MAKE_OPTS) WERROR=0 -C "$(LINUX_DIR)/tools/perf" all
do-install:
- $(KERNEL_MAKE_ENV) GCC_HONOUR_COPTS=0 $(MAKE) \
+ $(KERNEL_MAKE_ENV) GCC_HONOUR_COPTS=0 $(MAKE) -C "${LINUX_DIR}" \
$(KERNEL_MAKE_OPTS) WERROR=0 -C "$(LINUX_DIR)/tools/perf" \
prefix="$(WRKINST)" install