2023-03-26 07:32:30 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
|
|
|
|
|
|
|
PKG_NAME="libmali-vulkan"
|
2023-08-25 15:35:08 +00:00
|
|
|
PKG_VERSION="r40p0-01eac0"
|
2023-08-25 15:12:58 +00:00
|
|
|
PKG_LICENSE="mali_driver"
|
2023-03-26 07:32:30 +00:00
|
|
|
PKG_ARCH="arm aarch64"
|
2023-08-25 15:12:58 +00:00
|
|
|
PKG_SITE="https://developer.arm.com/downloads/-/mali-drivers/user-space"
|
|
|
|
PKG_URL="https://developer.arm.com/-/media/Files/downloads/mali-drivers/user-space/odroid-n2plus/BXODROIDN2PL-${PKG_VERSION}.tar"
|
2023-03-30 01:19:03 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain mesa vulkan-tools"
|
2023-03-26 07:32:30 +00:00
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
PKG_LONGDESC="Vulkan Mali drivers for s922x soc"
|
|
|
|
|
2023-08-25 15:12:58 +00:00
|
|
|
make_target() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
2023-03-26 07:32:30 +00:00
|
|
|
makeinstall_target() {
|
2023-08-25 15:12:58 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/{lib,share}
|
2023-08-25 15:40:15 +00:00
|
|
|
tar -xvJf ${PKG_BUILD}/mali.tar.xz -C ${INSTALL}
|
|
|
|
mv ${INSTALL}/lib/${TARGET_ARCH}-linux-gnu/* ${INSTALL}/usr/lib
|
|
|
|
rm -r ${INSTALL}/lib
|
2023-03-26 07:32:30 +00:00
|
|
|
}
|