Our last sync with the kernel was 5.1. We are so out of sync now, that tracking the patches and backporting them one by one makes little sense and it's going to take ages. This is an attempt to sync up Makefiles to 6.1. Unfortunately due to sheer amount of patches this is not easy to review, but that's what we decided during a community call for the bump to 5.1, so we are following the same guidelines here. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>a #rebased on -next
20 lines
498 B
Makefile
20 lines
498 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2011 Samsung Electronics
|
|
|
|
ifdef CONFIG_XPL_BUILD
|
|
# necessary to create built-in.a
|
|
obj- := __dummy__.a
|
|
|
|
hostprogs-always-y += tools/mkorigenspl
|
|
|
|
# omit -O2 option to suppress
|
|
# warning: dereferencing type-punned pointer will break strict-aliasing rules
|
|
#
|
|
# TODO:
|
|
# Fix the root cause in tools/mkorigenspl.c and delete the following work-around
|
|
$(obj)/tools/mkorigenspl: HOSTCFLAGS:=$(filter-out -O2,$(HOSTCFLAGS))
|
|
else
|
|
obj-y += origen.o
|
|
endif
|