Revert "techpack: add camera legacy support"

This reverts commit 7b3d315852.

Change-Id: Id160f9e62700099cab333223eaa2e1f8809135d2
This commit is contained in:
Michael Bestas 2025-03-19 09:40:24 +02:00
commit ffff8b3589
No known key found for this signature in database

View file

@ -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)))