mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-06 15:26:58 +02:00
rockchip: theobroma-systems: use HAVE_VENDOR_COMMON_LIB to simplify Makefile
The build system uses HAVE_VENDOR_COMMON_LIB to automatically include board/$(VENDOR)/common/Makefile, therefore let's use that to implicitly include board/theobroma-systems/common/Makefile and compile the common.c file when building proper. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
231777ca8b
commit
1fd8fc0b2f
9
board/theobroma-systems/common/Makefile
Normal file
9
board/theobroma-systems/common/Makefile
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (c) 2025 Cherry Embedded Solutions GmbH
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
ifneq ($(CONFIG_XPL_BUILD),y)
|
||||
obj-y += common.o
|
||||
endif
|
@ -5,6 +5,3 @@
|
||||
#
|
||||
|
||||
obj-y += jaguar_rk3588.o
|
||||
ifneq ($(CONFIG_XPL_BUILD),y)
|
||||
obj-y += ../common/common.o
|
||||
endif
|
||||
|
@ -5,6 +5,3 @@
|
||||
#
|
||||
|
||||
obj-y += puma-rk3399.o
|
||||
ifneq ($(CONFIG_XPL_BUILD),y)
|
||||
obj-y += ../common/common.o
|
||||
endif
|
||||
|
@ -5,6 +5,3 @@
|
||||
#
|
||||
|
||||
obj-y += ringneck-px30.o
|
||||
ifneq ($(CONFIG_XPL_BUILD),y)
|
||||
obj-y += ../common/common.o
|
||||
endif
|
||||
|
@ -5,6 +5,3 @@
|
||||
#
|
||||
|
||||
obj-y += tiger_rk3588.o
|
||||
ifneq ($(CONFIG_XPL_BUILD),y)
|
||||
obj-y += ../common/common.o
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user