mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
memory: tegra: Enable building of mc-<soc>
The copied source files for driver in linux-<soc> repo need to proper Makefile to be built. Add required Makefile to build MC driver from linux-<soc> repo. Bug 3960743 Change-Id: If47a799c9ac6be7f52a55fb0d715a09a797501d8 Signed-off-by: Ashish Mhetre <amhetre@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2914094 Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6475ddcf3d
commit
9797a3c1e2
@@ -30,6 +30,9 @@ ifdef CONFIG_I2C
|
||||
obj-m += i2c/busses/
|
||||
obj-m += mfd/
|
||||
endif
|
||||
ifdef CONFIG_MEMORY
|
||||
obj-m += memory/
|
||||
endif
|
||||
ifdef CONFIG_MTD
|
||||
obj-m += mtd/devices/
|
||||
endif
|
||||
|
||||
5
drivers/memory/Makefile
Normal file
5
drivers/memory/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
obj-m += tegra/
|
||||
|
||||
4
drivers/memory/tegra/Makefile
Normal file
4
drivers/memory/tegra/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
obj-m += private-soc/
|
||||
10
drivers/memory/tegra/private-soc/Makefile
Normal file
10
drivers/memory/tegra/private-soc/Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
# Empty Makefile
|
||||
# NOTE: Do not change or add anything in this Makefile.
|
||||
# The source code and Makefile rules are copied from the
|
||||
# kernel/nvidia-$soc/drivers/memory/tegra/private-soc. This
|
||||
# file is just place-holder for empty Makefile to avoid any build
|
||||
# issue when copy is not done from command line and building
|
||||
# the tree independent of source copy.
|
||||
Reference in New Issue
Block a user