Install this version:
emerge -a =sys-apps/rkflashtool-6.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sys-apps/rkflashtool-6.1
Or alternatively:
emerge --autounmask-write -a =sys-apps/rkflashtool-6.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 6.1 | 8 | ~amd64 | 0 |
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Tool for flashing Rockchip devices"
HOMEPAGE="https://sourceforge.net/projects/rkflashtool/"
LICENSE="BSD-2"
SLOT="0"
if [[ "${PV}" == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.code.sf.net/p/${PN}/Git"
else
KEYWORDS="~amd64"
SRC_URI="https://downloads.sourceforge.net/project/${PN}/${P}/${P}-src.tar.xz"
S="${WORKDIR}/${P}-src"
fi
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
DOCS=( README )
src_prepare() {
sed -r -i \
-e '1,8s@(^CC[\t\ ]*)=@\1?=@' \
-e '1,8s@(^LD[\t\ ]*)=@\1?=@' \
-e '1,8s@(^CFLAGS[\t\ ]*)=@\1?=@' \
-e '1,8s@(^LDFLAGS[\t\ ]*)=@\1?=@' \
-e '1,8s@(^PREFIX[\t\ ]*)\?=.*$@\1= usr@' \
Makefile || die
tc-export CC
tc-export LD
default
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | rkflashtool-6.1-src.tar.xz | 13924 bytes | https://downloads.sourceforge.net/project/rkflashtool/rkflashtool-6.1/rkflashtool-6.1-src.tar.xz |