luckfox-pico-sdk/media/libdrm/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

42 lines
877 B
Makefile

ifeq ($(MEDIA_PARAM), )
MEDIA_PARAM:=../Makefile.param
include $(MEDIA_PARAM)
endif
export LC_ALL=C
SHELL:=/bin/bash
CURRENT_DIR := $(shell pwd)
PKG_TARBALL := libdrm-2.4.89-$(RK_MEDIA_CROSS).tar
PKG_NAME := libdrm-2.4.89
PKG_BIN ?= out
ifeq ($(PKG_BIN),)
$(error ### $(CURRENT_DIR): PKG_BIN is NULL, Please Check !!!)
endif
ifeq ($(CONFIG_LIBDRM),y)
PKG_TARGET := libdrm-build
else ifeq ($(RK_ENABLE_LIBDRM),y)
PKG_TARGET := libdrm-build
endif
all: $(PKG_TARGET)
@echo "build $(PKG_NAME) done"
$(call MAROC_COPY_PKG_TO_MEDIA_OUTPUT, $(RK_MEDIA_OUTPUT), $(PKG_BIN))
libdrm-build:
@test -f $(CURRENT_DIR)/$(PKG_BIN)/lib/libdrm.so || (\
rm -rf $(PKG_BIN) && mkdir -p $(PKG_BIN); \
tar -xf $(PKG_TARBALL) -C $(PKG_BIN)/; \
rm -rf $(PKG_BIN)/share; \
);
clean: distclean
distclean:
-rm -rf $(CURRENT_DIR)/$(PKG_NAME)
-rm -rf $(CURRENT_DIR)/$(PKG_BIN)