ODROID-C5: Add new submodule 'media_modules' to media drivers

Change-Id: I683fd590315157ce77b1672ab1b947b1104641d9
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
Dongjin Kim
2024-10-23 18:01:29 +09:00
parent d511311275
commit f5719063b6
4 changed files with 10 additions and 0 deletions

5
.gitmodules vendored
View File

@@ -2,3 +2,8 @@
path = common_drivers
url = https://git.odroid.com/yocto/kernel/common_drivers
branch = odroids7d-5.15.y
[submodule "media_modules"]
path = media_modules
url = https://git.odroid.com/yocto/platform/hardware/amlogic/media_modules
branch = odroids7d-5.15.y

View File

@@ -33,3 +33,5 @@ source "Documentation/Kconfig"
# ANDROID: Set KCONFIG_EXT_PREFIX to decend into an external project.
source "$(KCONFIG_EXT_PREFIX)Kconfig.ext"
source "media_modules/Kconfig"

View File

@@ -442,6 +442,7 @@ endif
# config cannot be used here to mark AMLOGIC modifications
# If these three variables are not set externally, set their default values
export COMMON_DRIVERS_DIR ?= common_drivers
export MEDIA_DRIVERS_DIR ?= media_modules
dtstree ?= $(COMMON_DRIVERS_DIR)/arch/$(SRCARCH)/boot/dts/
export DTC_INCLUDE ?= $(srctree)/$(COMMON_DRIVERS_DIR)/include
# endif
@@ -716,6 +717,7 @@ drivers-y := drivers/ sound/
ifdef CONFIG_AMLOGIC_IN_KERNEL_MODULES
drivers-y += $(COMMON_DRIVERS_DIR)/drivers/ $(COMMON_DRIVERS_DIR)/sound/
drivers-y += $(COMMON_DRIVERS_DIR)/samples/
drivers-y += $(MEDIA_DRIVERS_DIR)/drivers/
endif
drivers-$(CONFIG_SAMPLES) += samples/
drivers-$(CONFIG_NET) += net/

1
media_modules Submodule

Submodule media_modules added at 61d677d723