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>
49 lines
1.7 KiB
Makefile
49 lines
1.7 KiB
Makefile
|
|
MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
export LC_ALL=C
|
|
SHELL:=/bin/bash
|
|
MAKE=make
|
|
AT?=@
|
|
|
|
################################################################################
|
|
## Input Configuraton Overlay
|
|
################################################################################
|
|
ifneq ($(RK_TOOLCHAIN_CROSS),)
|
|
RK_MEDIA_CROSS:= $(RK_TOOLCHAIN_CROSS)
|
|
endif
|
|
|
|
################################################################################
|
|
## Public Configuraton
|
|
################################################################################
|
|
include $(MAKEFILE_DIR)/Makefile.param
|
|
|
|
media_src := $(wildcard ./*/Makefile)
|
|
media_src := $(dir $(media_src))
|
|
media_src := $(filter-out ./samples/,$(media_src))
|
|
################################################################################
|
|
## build target
|
|
################################################################################
|
|
all: media_libs
|
|
make -C ./samples
|
|
$(call MAROC_COPY_PKG_TO_MEDIA_OUTPUT, $(RK_PROJECT_PATH_MEDIA), $(RK_MEDIA_OUTPUT))
|
|
|
|
media_libs:
|
|
@rm -rf $(RK_MEDIA_OUTPUT)
|
|
$(foreach target,$(media_src),make -C $(target)||exit -1;)
|
|
|
|
distclean: clean
|
|
|
|
clean:
|
|
$(foreach target,$(media_src),make distclean -C $(target)||exit -1;)
|
|
make -C ./samples distclean
|
|
@rm -rf $(RK_MEDIA_OUTPUT)
|
|
|
|
info:
|
|
@echo -e "$(C_YELLOW)-------------------------------------------------------------------------$(C_NORMAL)"
|
|
@echo -e "$(C_YELLOW)$(RK_MEDIA_CHIP) media info:"
|
|
@env|grep "^CONFIG\|^RK_MEDIA" | grep -v "CONFIG_RK_MEDIA_CROSS\|CONFIG_RK_CHIP" | sort
|
|
@echo -e "$(C_YELLOW)-------------------------------------------------------------------------$(C_NORMAL)"
|
|
|
|
strip:
|
|
$(call MAROC_STRIP_DEBUG_SYMBOL, $(RK_MEDIA_OUTPUT))
|