init version commit

This commit is contained in:
maguoqun 2024-06-27 20:26:28 +08:00
commit e5ac7b57a7
20 changed files with 13602 additions and 0 deletions

53
mpp/Makefile Normal file
View file

@ -0,0 +1,53 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2024 Spacemit LTD.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=mpp
PKG_RELEASE:=1.0
PKG_SOURCE_VERSION:=v1.0.3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitee.com/bianbu-linux/mpp.git
PKG_MIRROR_HASH:=skip
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/mpp
SECTION:=multimedia
CATEGORY:=Multimedia
DEFAULT:=y
TITLE:=SpacemiT Media Process Platform
endef
define Package/mpp/description
spacemit media process platform
endef
CMAKE_OPTIONS += -DCMAKE_INSTALL_PREFIX="/usr"
define Build/InstallDev
mkdir -p $(1)/sysroot
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/sysroot
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libspacemit_mpp.so* $(1)/sysroot
endef
define Package/mpp/install
$(INSTALL_DIR) $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/spacemit_mpp.pc $(1)/usr/lib/pkgconfig/
$(INSTALL_DIR) $(1)/usr/bin/
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
$(INSTALL_DIR) $(1)/lib/firmware/
$(CP) ./files/* $(1)/lib/firmware/
endef
$(eval $(call BuildPackage,mpp))

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,42 @@
From c7d028bb10fd7a9a88159e48e43b26007d47be07 Mon Sep 17 00:00:00 2001
From: chris <chris.huang@spacemit.com>
Date: Thu, 20 Jun 2024 16:18:24 +0800
Subject: [PATCH] [modify]1.openwrt not support sdl2,
---
al/vo/CMakeLists.txt | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/al/vo/CMakeLists.txt b/al/vo/CMakeLists.txt
index b254e3d..2a82090 100755
--- a/al/vo/CMakeLists.txt
+++ b/al/vo/CMakeLists.txt
@@ -9,16 +9,16 @@
# @Description: the cmake script of al layer.
#------------------------------------------------------------
-include_directories(sdl2/include)
-set(SRC_LIST ./sdl2/vo_sdl2.c)
-add_library(vo_sdl2_plugin SHARED ${SRC_LIST})
-target_link_libraries(vo_sdl2_plugin utils)
-target_link_libraries(vo_sdl2_plugin SDL2)
-install(TARGETS vo_sdl2_plugin LIBRARY
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
+# include_directories(sdl2/include)
+# set(SRC_LIST ./sdl2/vo_sdl2.c)
+# add_library(vo_sdl2_plugin SHARED ${SRC_LIST})
+# target_link_libraries(vo_sdl2_plugin utils)
+# target_link_libraries(vo_sdl2_plugin SDL2)
+# install(TARGETS vo_sdl2_plugin LIBRARY
+# DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
set(SRC_LIST ./file/vo_file.c)
add_library(vo_file_plugin SHARED ${SRC_LIST})
target_link_libraries(vo_file_plugin utils)
install(TARGETS vo_file_plugin LIBRARY
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
\ No newline at end of file
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib")
--
2.25.1

6306
spacemit_k1_defconfig Normal file

File diff suppressed because it is too large Load diff

7201
spacemit_k1_nas_defconfig Normal file

File diff suppressed because it is too large Load diff