diff options
author | Mark Corbin <mark.corbin@embecosm.com> | 2018-09-23 21:33:51 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-09-23 21:36:53 +0200 |
commit | 97ffbc9aeee076ef2975bb3271bc78369da858dd (patch) | |
tree | e7f41274b8ff9acabd70ee5e74499db01e6bd2e2 /package/gcc | |
parent | fec8e24fec59233ca0859905bf494e8788939c23 (diff) | |
download | buildroot-97ffbc9aeee076ef2975bb3271bc78369da858dd.tar.gz buildroot-97ffbc9aeee076ef2975bb3271bc78369da858dd.zip |
linux-headers: prepare to support custom tarball/git
This commit reworks how linux-headers.mk is written to prepare adding
support for custom tarball/git fetching for the Linux kernel headers.
Basically, the idea is to have a single condition at the beginning of
the file that defines a number of LINUX_HADERS_* variables depending
on whether "kernel headers same as kernel" is used or not, and then
use these variables in the rest of the .mk file.
Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: split from the original patch "package/linux-headers: add
support for custom headers" from Mark. The commit log is entirely
mine.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions