mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
Revert "techpack: add camera legacy support"
This reverts commit 7b3d315852.
Change-Id: Id160f9e62700099cab333223eaa2e1f8809135d2
This commit is contained in:
parent
eed57fac05
commit
ffff8b3589
1 changed files with 1 additions and 12 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue