kbuild: add dummy obj-y to create built-in.o
We are going to switch over to Kbuild in upcoming commits. Each makefile must have non-empty obj- or obj-y to generate built-in.o on Kbuild. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
9e4140329e
commit
7c8278a866
|
@ -17,4 +17,5 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
obj- :=
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
|
|
@ -17,4 +17,5 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
|
|
||||||
obj- :=
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
|
|
@ -9,4 +9,7 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
|
||||||
extra-y = start.o
|
extra-y = start.o
|
||||||
|
|
|
@ -13,7 +13,10 @@ MINIMAL=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef MINIMAL
|
ifdef MINIMAL
|
||||||
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
else
|
||||||
obj-$(CONFIG_FSL_CADMUS) += cadmus.o
|
obj-$(CONFIG_FSL_CADMUS) += cadmus.o
|
||||||
obj-$(CONFIG_FSL_VIA) += cds_via.o
|
obj-$(CONFIG_FSL_VIA) += cds_via.o
|
||||||
obj-$(CONFIG_FMAN_ENET) += fman.o
|
obj-$(CONFIG_FMAN_ENET) += fman.o
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
|
||||||
hostprogs-y := tools/mkorigenspl
|
hostprogs-y := tools/mkorigenspl
|
||||||
always := $(hostprogs-y)
|
always := $(hostprogs-y)
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ifdef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
|
||||||
hostprogs-y := tools/mksmdkv310spl
|
hostprogs-y := tools/mksmdkv310spl
|
||||||
always := $(hostprogs-y)
|
always := $(hostprogs-y)
|
||||||
else
|
else
|
||||||
|
|
|
@ -5,7 +5,10 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
ifndef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
else
|
||||||
obj-y := spr_misc.o
|
obj-y := spr_misc.o
|
||||||
obj-y += spr_lowlevel_init.o
|
obj-y += spr_lowlevel_init.o
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0+
|
# SPDX-License-Identifier: GPL-2.0+
|
||||||
#
|
#
|
||||||
|
|
||||||
ifndef CONFIG_SPL_BUILD
|
ifdef CONFIG_SPL_BUILD
|
||||||
|
# necessary to create built-in.o
|
||||||
|
obj- := __dummy__.o
|
||||||
|
else
|
||||||
obj-y := fpga.o x600.o
|
obj-y := fpga.o x600.o
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue