From d4ad9e55cb8e17a4a42b3a94c64e6bc48529b26e Mon Sep 17 00:00:00 2001 From: Mikael Olsson Date: Wed, 7 Feb 2024 11:22:26 +0100 Subject: Restructure kernel driver source tree As a first step to have a clearer separation of the different parts of the kernel driver, the source files have been placed into separate directories according to their purpose and the different parts are only allowed to use headers from another part in the include folder. Files have been renamed accordingly to namespace them by their purpose. Change-Id: I75e09ebf0002c99a22b6d4b09d34504d186c32b3 Signed-off-by: Mikael Olsson --- kernel/Kbuild | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kernel/Kbuild') diff --git a/kernel/Kbuild b/kernel/Kbuild index 98bece3..88ce756 100644 --- a/kernel/Kbuild +++ b/kernel/Kbuild @@ -1,5 +1,5 @@ # -# SPDX-FileCopyrightText: Copyright 2020,2022-2023 Arm Limited and/or its affiliates +# SPDX-FileCopyrightText: Copyright 2020, 2022-2024 Arm Limited and/or its affiliates # SPDX-License-Identifier: GPL-2.0-only # # This program is free software and is provided to you under the terms of the @@ -17,18 +17,18 @@ # http://www.gnu.org/licenses/gpl-2.0.html. # -ccflags-y += -Werror +ccflags-y += -Werror -I$(src)/include obj-$(CONFIG_ETHOSU) = ethosu.o -ethosu-objs := ethosu_driver.o \ - ethosu_buffer.o \ - ethosu_dma_mem.o \ - ethosu_device.o \ - ethosu_inference.o \ - ethosu_mailbox.o \ - ethosu_network.o \ - ethosu_network_info.o \ - ethosu_capabilities.o \ - ethosu_cancel_inference.o \ - ethosu_version.o +ethosu-objs := common/ethosu_driver.o \ + common/ethosu_buffer.o \ + common/ethosu_dma_mem.o \ + common/ethosu_device.o \ + rpmsg/ethosu_rpmsg_cancel_inference.o \ + rpmsg/ethosu_rpmsg_network.o \ + rpmsg/ethosu_rpmsg_network_info.o \ + rpmsg/ethosu_rpmsg_capabilities.o \ + rpmsg/ethosu_rpmsg_inference.o \ + rpmsg/ethosu_rpmsg_mailbox.o \ + rpmsg/ethosu_rpmsg_version.o -- cgit v1.2.1