Try to compile the source

This commit is contained in:
Gerben Jan Dijkman 2021-12-11 13:59:01 +01:00
parent 55a99a5f12
commit 816e367eda

View File

@ -62,7 +62,7 @@ src_compile() {
emake "${myemakeargs[@]}" pinephone-pro-rk3399_defconfig emake "${myemakeargs[@]}" pinephone-pro-rk3399_defconfig
echo 'CONFIG_IDENT_STRING=" Gentoo"' >> .config echo 'CONFIG_IDENT_STRING=" Gentoo Linux"' >> .config
echo 'CONFIG_USB_EHCI_HCD=n' >> .config echo 'CONFIG_USB_EHCI_HCD=n' >> .config
echo 'CONFIG_USB_EHCI_GENERIC=n' >> .config echo 'CONFIG_USB_EHCI_GENERIC=n' >> .config
echo 'CONFIG_USB_XHCI_HCD=n' >> .config echo 'CONFIG_USB_XHCI_HCD=n' >> .config
@ -70,22 +70,14 @@ src_compile() {
echo 'CONFIG_USB_DWC3=n' >> .config echo 'CONFIG_USB_DWC3=n' >> .config
echo 'CONFIG_USB_DWC3_GENERIC=n' >> .config echo 'CONFIG_USB_DWC3_GENERIC=n' >> .config
emake "${myemakeargs[@]}" \ emake "${myemakeargs[@]}"
NO_SDL=1 \
HOSTSTRIP=: \
STRIP=: \
CONFIG_ENV_OVERWRITE=y \
$(usex envtools envtools tools-all)
} }
src_test() { :; } src_test() { :; }
src_install() { src_install() {
cd tools || die emake "${myemakeargs[@]}" install
if ! use envtools; then
dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage
fi
dobin env/fw_printenv dobin env/fw_printenv