summaryrefslogtreecommitdiff
path: root/images/srec.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-18 20:39:38 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-18 20:39:38 +0200
commit81f0ea009377983a845c1903352786a69c9945fe (patch)
treeff5d39d87500e5aee4ece7fcce1231f0e9f45a23 /images/srec.sh
parentaa2b2ff0670c28ad999774b4ea5fb510da14a9c2 (diff)
Add simple mechanism to specify version-based extra CFLAGS
Platform files can specify extra CFLAGS by extending the kcflags environment variable. When a kernel tree for a platform contains both BSP and mainline branches, different CFLAGS may be needed, as BSPs are usually littered with warnings. Make it possible to specify extra CFLAGS per kernel version through a new extra_kcflags array. This mechanism can be extended later if needed by storing version comparison strings as array keys (e.g. "<=4.19"). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'images/srec.sh')
0 files changed, 0 insertions, 0 deletions