project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
129 lines
2.6 KiB
Makefile
129 lines
2.6 KiB
Makefile
ifeq ($(SYSDRV_PARAM), )
|
|
SYSDRV_PARAM:=../../Makefile.param
|
|
include $(SYSDRV_PARAM)
|
|
endif
|
|
|
|
ifneq ($(SYSDRV_KERNEL_OBJS_OUTPUT_DIR),)
|
|
WIFI_BUILD_KERNEL_OBJ_DIR=$(SYSDRV_KERNEL_OBJS_OUTPUT_DIR)
|
|
else
|
|
WIFI_BUILD_KERNEL_OBJ_DIR=$(KERNEL_DIR)
|
|
endif
|
|
|
|
ifeq ($(ENABLE_WIFI),y)
|
|
|
|
WIFI_USB = $(shell grep -o "CONFIG_USB=y" $(WIFI_BUILD_KERNEL_OBJ_DIR)/.config)
|
|
WIFI_SDIO = $(shell grep -o "CONFIG_MMC=y" $(WIFI_BUILD_KERNEL_OBJ_DIR)/.config)
|
|
WIFI_RFKILL = $(shell grep -o "CONFIG_RFKILL=y" $(WIFI_BUILD_KERNEL_OBJ_DIR)/.config)
|
|
export WIFI_RFKILL WIFI_BUILD_KERNEL_OBJ_DIR
|
|
|
|
ifneq ($(WIFI_USB),)
|
|
PKG_TARGET := build-usb
|
|
PKG_CLEAN_TARGET += build-usb-clean
|
|
endif
|
|
|
|
ifneq ($(WIFI_SDIO),)
|
|
PKG_TARGET += build-sdio
|
|
PKG_CLEAN_TARGET += build-sdio-clean
|
|
endif
|
|
|
|
endif
|
|
|
|
ifeq ($(M_OUT_DIR),)
|
|
# TODO
|
|
$(error Please build on upper directory)
|
|
endif
|
|
|
|
all: $(PKG_TARGET)
|
|
@echo "build wifi done"
|
|
@echo "build wifi $(WIFI_RFKILL)"
|
|
ifeq ($(ENABLE_WIFI),y)
|
|
@cp insmod_wifi.sh $(M_OUT_DIR);
|
|
endif
|
|
|
|
ifneq ($(RK_ENABLE_WIFI_CHIP),)
|
|
|
|
build-usb:
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"RTL8188FTV"),)
|
|
@make -C rtl8188ftv/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"SSV6X5X"),)
|
|
@make -C ssv6x5x/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"SSV6115"),)
|
|
@make -C ssv6115/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"AIC8800DW_USB"),)
|
|
@make -C aic8800_usb/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"AIC8800MC"),)
|
|
@make -C aic8800_netdrv/
|
|
endif
|
|
|
|
build-sdio:
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"RTL8189FS"),)
|
|
@make -C rtl8189fs/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"HI3861L"),)
|
|
@make -C hichannel/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"ATBM603X"),)
|
|
@make -C atbm/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"ATBM6441"),)
|
|
@make -C atbm6441/
|
|
endif
|
|
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"AIC8800DC"),)
|
|
@make -C aic8800dc/
|
|
endif
|
|
|
|
ifneq ($(WIFI_RFKILL),)
|
|
ifneq ($(findstring $(RK_ENABLE_WIFI_CHIP),"AP6XXX"),)
|
|
@make -C bcmdhd/
|
|
endif
|
|
endif
|
|
|
|
else
|
|
|
|
build-usb:
|
|
@make -C rtl8188ftv/
|
|
@make -C ssv6x5x/
|
|
@make -C ssv6115/
|
|
@make -C aic8800_usb/
|
|
|
|
build-sdio:
|
|
@make -C rtl8189fs/
|
|
@make -C hichannel/
|
|
@make -C atbm/
|
|
@make -C atbm6441/
|
|
@make -C aic8800dc/
|
|
ifneq ($(WIFI_RFKILL),)
|
|
@make -C bcmdhd/
|
|
endif
|
|
@make -C aic8800_netdrv/
|
|
|
|
endif
|
|
|
|
build-sdio-clean:
|
|
@make -C rtl8189fs/ clean
|
|
@make -C bcmdhd/ clean
|
|
@make -C hichannel/ clean
|
|
@make -C atbm/ clean
|
|
@make -C atbm6441/ clean
|
|
@make -C aic8800_netdrv/ clean
|
|
|
|
build-usb-clean:
|
|
@make -C rtl8188ftv clean
|
|
@make -C ssv6x5x clean
|
|
@make -C ssv6115 clean
|
|
@make -C aic8800_usb clean
|
|
|
|
clean: $(PKG_CLEAN_TARGET)
|