mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 11:56:18 +00:00
5e4599be53
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="media_tree"
|
|
PKG_VERSION="2021-04-08-4f4e6644cd87"
|
|
PKG_SHA256="894530c842092646631a1595c7dff04e7a0ec55f4c7f246b8f89aa56f41d486e"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://git.linuxtv.org/media_tree.git"
|
|
PKG_URL="http://linuxtv.org/downloads/drivers/linux-media-${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
PKG_NEED_UNPACK="${LINUX_DEPENDS}"
|
|
PKG_LONGDESC="Source of Linux Kernel media_tree subsystem to build with media_build."
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
unpack() {
|
|
mkdir -p ${PKG_BUILD}/
|
|
tar -xf ${SOURCES}/${PKG_NAME}/${PKG_NAME}-${PKG_VERSION}.tar.bz2 -C ${PKG_BUILD}/
|
|
}
|
|
|
|
post_unpack() {
|
|
# hack/workaround for borked upstream kernel/media_build
|
|
# without removing atomisp there a lot additional includes that
|
|
# slowdown build process after modpost from 3min to 6min
|
|
# even if atomisp is disabled via kernel.conf
|
|
rm -rf ${PKG_BUILD}/drivers/staging/media/atomisp
|
|
sed -i 's|^.*drivers/staging/media/atomisp.*$||' \
|
|
${PKG_BUILD}/drivers/staging/media/Kconfig
|
|
}
|