Package and repo clean up.

This commit is contained in:
fewtarius 2022-07-23 13:56:47 -04:00
parent 8aac669f3d
commit 6eb657dee8
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 34 additions and 29 deletions

View file

@ -28,6 +28,9 @@ world: RG552 RG503 RG353P RG351P RG351V RG351MP
X86_64:
PROJECT=PC DEVICE=X86_64 ARCH=x86_64 ./scripts/build_distro
X86_64L:
PROJECT=PC DEVICE=X86_64L ARCH=x86_64 ./scripts/build_distro
RG552:
PROJECT=Rockchip DEVICE=RG552 ARCH=arm ./scripts/build_distro
PROJECT=Rockchip DEVICE=RG552 ARCH=aarch64 ./scripts/build_distro

View file

@ -6,7 +6,7 @@
PKG_NAME="linux"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
PKG_SITE="https://github.com/JustEnoughLinuxOS"
PKG_DEPENDS_HOST="ccache:host openssl:host"
PKG_DEPENDS_TARGET="toolchain linux:host cpio:host kmod:host xz:host wireless-regdb keyutils ${KERNEL_EXTRA_DEPENDS_TARGET}"
PKG_DEPENDS_INIT="toolchain"
@ -15,22 +15,23 @@ PKG_LONGDESC="This package builds the kernel for Rockchip devices"
PKG_IS_KERNEL_PKG="yes"
PKG_STAMP="${KERNEL_TARGET} ${KERNEL_MAKE_EXTRACMD}"
PKG_PATCH_DIRS+="${DEVICE}"
PKG_GIT_CLONE_BRANCH="main"
PKG_GIT_CLONE_BRANCH="main"
GET_HANDLER_SUPPORT="git"
if [[ "${DEVICE}" =~ RG552 ]]
then
PKG_URL="https://github.com/JustEnoughLinuxOS/rockchip-kernel.git"
PKG_VERSION="cb0d79995"
elif [[ "${DEVICE}" =~ RG351 ]]
then
PKG_URL="https://github.com/JustEnoughLinuxOS/rg351x-kernel.git"
PKG_VERSION="effc106f9"
elif [[ "${DEVICE}" =~ RG503 ]] || [[ "${DEVICE}" =~ RG353P ]]
then
PKG_URL="https://github.com/JustEnoughLinuxOS/rk356x-kernel.git"
PKG_VERSION="e75a81b17"
fi
case ${DEVICE} in
RG351P|RG351V|RG351MP)
PKG_URL="${PKG_SITE}/rk3326-kernel.git"
PKG_VERSION="effc106f9"
;;
RG552)
PKG_URL="${PKG_SITE}/rk3399-kernel.git"
PKG_VERSION="cb0d79995"
;;
RG353P|RG503)
PKG_URL="${PKG_SITE}/rk356x-kernel.git"
PKG_VERSION="e75a81b17"
;;
esac
PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die

View file

@ -6,25 +6,26 @@
PKG_NAME="u-boot"
PKG_ARCH="arm aarch64"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/JustEnoughLinuxOS/rockchip-uboot"
PKG_SITE="https://github.com/JustEnoughLinuxOS"
PKG_DEPENDS_TARGET="toolchain swig:host rkbin"
PKG_LONGDESC="Rockchip U-Boot is a bootloader for embedded systems."
PKG_URL="${PKG_SITE}.git"
PKG_VERSION="23f4a5d"
GET_HANDLER_SUPPORT="git"
PKG_PATCH_DIRS+="${DEVICE}"
if [[ "${DEVICE}" =~ RG351 ]]
then
PKG_URL="https://github.com/JustEnoughLinuxOS/rg351x-uboot.git"
PKG_VERSION="9f8c2e3936"
fi
if [[ "${DEVICE}" =~ RG503 ]] || [[ "${DEVICE}" =~ RG353P ]]
then
PKG_URL="https://github.com/JustEnoughLinuxOS/rk356x-uboot.git"
PKG_VERSION="2988a90"
fi
case ${DEVICE} in
RG351P|RG351V|RG351MP)
PKG_URL="${PKG_SITE}/rk3326-uboot.git"
PKG_VERSION="9f8c2e3936"
;;
RG552)
PKG_URL="${PKG_SITE}/rk3399-uboot.git"
PKG_VERSION="23f4a5d"
;;
RG353P|RG503)
PKG_URL="${PKG_SITE}/rk356x-uboot.git"
PKG_VERSION="2988a90"
;;
esac
PKG_IS_KERNEL_PKG="yes"
PKG_STAMP="${UBOOT_CONFIG}"