Files
android_kernel_motorola_sm6225/techpack/camera-bengal/Makefile
T
duff fb24b59cc3 rhode: add Kali NetHunter support (mac80211, injection, usb-gadgets)
- Add nethunter_rhode.config fragment with NetHunter features:
  - CONFIG_MAC80211, CFG80211 for monitor mode/injection
  - External USB Wi-Fi drivers: ath9k_htc, carl9170, rt2800usb, rtl8187, rtl8xxxu
  - BadUSB/HID gadgets: USB_CONFIGFS_F_HID, F_FS, F_MASS_STORAGE
  - Bluetooth RFCOMM, HIDP
  - Netfilter/iptables for MITM attacks
- Fix build: include paths for techpack camera-bengal
- Fix build: trace include paths for display drivers
- Fix build: synaptics_tcm2_mmi Kbuild include path
2026-09-29 01:21:35 +02:00

44 lines
1.6 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# auto-detect subdirs
ifeq ($(CONFIG_ARCH_BENGAL), y)
include $(srctree)/techpack/camera-bengal/config/bengalcamera.conf
endif
ifeq ($(CONFIG_ARCH_KHAJE), y)
include $(srctree)/techpack/camera-bengal/config/khajecamera.conf
endif
ifeq ($(CONFIG_ARCH_BENGAL), y)
LINUXINCLUDE += \
-include $(srctree)/techpack/camera-bengal/config/bengalcameraconf.h
endif
ifeq ($(CONFIG_ARCH_KHAJE), y)
LINUXINCLUDE += \
-include $(srctree)/techpack/camera-bengal/config/khajecameraconf.h
endif
ifneq (,$(filter y, $(CONFIG_BATHENA_DTB) $(CONFIG_BORNEO_DTB) $(CONFIG_CAPRI_DTB) $(CONFIG_CAPRIP_DTB) $(CONFIG_CEBU_DTB) $(CONFIG_GUAM_DTB) $(CONFIG_GUAMP_DTB) $(CONFIG_RHODE_DTB)))
LINUXINCLUDE += \
-include $(srctree)/techpack/camera-bengal/config/legacycameraconf.h
endif
ifdef CONFIG_SPECTRA_CAMERA_BENGAL
# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE += \
-I$(srctree)/techpack/camera-bengal/include/uapi
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
LINUXINCLUDE += \
-I$(srctree)/techpack/camera-bengal/include/uapi \
-I$(srctree)/techpack/camera-bengal/include \
-I$(srctree)/techpack/camera-bengal/drivers/cam_req_mgr \
-I$(srctree)/techpack/camera-bengal/drivers/cam_core \
-I$(srctree)/techpack/camera-bengal/drivers/cam_smmu \
-I$(srctree)/techpack/camera-bengal/drivers/cam_sync \
-I$(srctree)/techpack/camera-bengal/drivers/cam_utils
obj-y += drivers/
endif