Building dropbear for riscv64 linux

Jay Aurabind jay.aurabind at gmail.com
Sun Feb 24 00:10:57 AWST 2019


On Sat, 23 Feb 2019 at 15:22, Peter Korsgaard <peter at korsgaard.com> wrote:
>
> >>>>> "Jay" == Jay Aurabind <jay.aurabind at gmail.com> writes:
>
>  > Hi,
>  > I'm trying to build dropbear for riscv in a small userland, according
>  > to
>  > https://github.com/michaeljclark/busybear-linux/blob/24fc2e81c57f7fa024cc2b911e470fd2104e38d9/scripts/build.sh#L66
>
>  > I get a the below configure error:
>
>  > checking build system type... x86_64-unknown-linux-gnu
>  > checking host system type... Invalid configuration
>  > `riscv64-linux-gnu': machine `riscv64' not recognized
>  > configure: error: /bin/bash ./config.sub riscv64-linux-gnu failed
>
> You will encounter a lot of packages with old config.sub, so it makes
> more sense to update config.sub locally before building autotools
> packages, similar to how we do it in Buildroot:
>
> https://git.buildroot.org/buildroot/tree/package/pkg-autotools.mk#n31
>
> --
> Bye, Peter Korsgaard



Thank you very much Peter, this information was helpful and I can
build dropbear for riscv.

-- 

Thanks and Regards,
Jay


More information about the Dropbear mailing list