luckfox-pico-sdk/media/samples/Makefile
luckfox-eng29 8f34c2760d project:build.sh: Added fastboot support; custom modifications to U-Boot and kernel implemented using patches.
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>
2024-10-14 09:47:04 +08:00

51 lines
947 B
Makefile

ifeq ($(MEDIA_PARAM), )
MEDIA_PARAM:=../Makefile.param
include $(MEDIA_PARAM)
endif
ifneq ($(findstring $(RK_ENABLE_SAMPLE),n y),)
CONFIG_RK_SAMPLE=$(RK_ENABLE_SAMPLE)
else
CONFIG_RK_SAMPLE=y
endif
CURRENT_DIR := $(shell pwd)
ifeq ($(rk_static),1)
export BUILD_STATIC_LINK=y
else
export BUILD_STATIC_LINK=n
endif
ifeq ($(RK_MEDIA_SAMPLE_STATIC_LINK),y)
export BUILD_STATIC_LINK=y
else
export BUILD_STATIC_LINK=n
endif
PKG_NAME := sample
PKG_BUILD ?= build
all: $(PKG_TARGET)
ifeq ($(CONFIG_RK_SAMPLE),y)
@make -C $(CURRENT_DIR)/simple_test/ -j$(RK_MEDIA_JOBS)
@make -C $(CURRENT_DIR)/example/ -j$(RK_MEDIA_JOBS)
endif
@echo "build $(PKG_NAME) done";
example-build:
simple_test-build:
clean:
@make -C $(CURRENT_DIR)/example/ clean
@make -C $(CURRENT_DIR)/simple_test/ clean
help:
@echo "help message:"
@echo " build with dynamic link: make "
@echo " build with static link: make rk_static=1"
distclean: clean