summaryrefslogtreecommitdiff
path: root/kbuild.sh
AgeCommit message (Collapse)Author
2020-02-18Add simple mechanism to specify version-based extra CFLAGSLaurent Pinchart
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>
2019-08-22Ignore implicit fallthrough warningLaurent Pinchart
The kernel has enabled the implicit fallthrough warning without fixing all warnings on ARM first. Disable the warning until this gets addressed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-06-24Fix incorrect ARCH variable nameLaurent Pinchart
The architecture is stored in a variable called $arch, not $ARCH. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Move target directory configuration to config.shLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Move cross compiler configuration to separate config.sh fileLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Convert all shell variables to lowercaseLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Modularise image handlingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Modularise architecture handlingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Modularise platform handlingLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-05-19Initial importLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>