msm: camera: common: Remove shell commands from android makefiles

Remove direct shell commands from Android makefiles to better make use
of android function definitions.
Also changes mmrm dependency to be based on whether or not the driver
is detected in the build before setting it as a dependency.

CRs-Fixed: 3298147
Change-Id: I0d5f2c9eb34ac635604c515638c9f00e29ae0b2a
Signed-off-by: Suraj Dongre <quic_sdongre@quicinc.com>
Šī revīzija ir iekļauta:
Suraj Dongre
2022-06-16 10:58:11 -07:00
revīziju iesūtīja Camera Software Integration
vecāks b6b223b1ec
revīzija a97e0b887a
5 mainīti faili ar 69 papildinājumiem un 34 dzēšanām

4
Kbuild
Parādīt failu

@@ -54,6 +54,10 @@ ifeq ($(CONFIG_ARCH_PARROT), y)
include $(CAMERA_KERNEL_ROOT)/config/parrot.mk
endif
ifdef ($(KBUILD_EXTRA_CONFIGS))
include $(KBUILD_EXTRA_CONFIGS)
endif
# List of all camera-kernel headers
cam_include_dirs := $(shell dirname `find $(CAMERA_KERNEL_ROOT) -name '*.h'` | uniq)