From ffff8b35897d91911862d14348c977ab408fbc55 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 19 Mar 2025 09:40:24 +0200 Subject: [PATCH] Revert "techpack: add camera legacy support" This reverts commit 7b3d3158527e1cc57fda830727210203b1f7136d. Change-Id: Id160f9e62700099cab333223eaa2e1f8809135d2 --- techpack/Kbuild | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/techpack/Kbuild b/techpack/Kbuild index ecc335151076..037f394ff675 100644 --- a/techpack/Kbuild +++ b/techpack/Kbuild @@ -1,16 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only TECHPACK?=y -ifeq ($(BOARD_CONFIG_CAMERA_KERNEL_NAME),) -$(info "using default camera path") -techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*"\ - | grep -v legacy) -else -$(info "using camera-legacy/$(BOARD_CONFIG_CAMERA_KERNEL_NAME)") -techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*"\ - | grep -v camera) -techpack-dirs += $(shell find $(srctree)/techpack -maxdepth 2 -mindepth 2 -name "$(BOARD_CONFIG_CAMERA_KERNEL_NAME)") -endif - -$(info "techpack-dirs:=$(techpack-dirs)") +techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*") obj-${TECHPACK} += stub/ $(addsuffix /,$(subst $(srctree)/techpack/,,$(techpack-dirs)))