Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1211754
| From | Michael Ellerman <michael@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/7] selftests: add CFLAGS_EXTRA |
| Date | 2015-08-24 05:50 +0200 |
| Message-ID | <q0QVH-4kp-1@gated-at.bofh.it> (permalink) |
| References | <pXnwR-3Fg-3@gated-at.bofh.it> <pXnwS-3Fg-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 2015-08-14 at 21:43 +0800, Bamvor Jian Zhang wrote: > One may pass the "-I /path/to/headers -L /path/to/lib" through > CFLAGS_EXTRA for cross compiling. mqueue could compile pass > in this way when we provide the popt.h and libpopt.so. And kdbus > could compile pass with sys/capability and libcap.so There should be no need to define a new variable. You should just update the relevant Makefiles to use CFLAGS += rather than CFLAGS =. And then you can just specifiy CFLAGS on the command line. cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 2/7] selftests: add CFLAGS_EXTRA Michael Ellerman <michael@ellerman.id.au> - 2015-08-24 05:50 +0200
Re: [PATCH 2/7] selftests: add CFLAGS_EXTRA Bamvor Zhang Jian <bamvor.zhangjian@linaro.org> - 2015-08-25 15:00 +0200
Re: [PATCH 2/7] selftests: add CFLAGS_EXTRA Michael Ellerman <mpe@ellerman.id.au> - 2015-08-27 12:30 +0200
csiph-web