From: Tommy M. <tom...@ho...> - 2020-08-29 19:36:36
|
Liviu's scripts build his snapshot sources. If you want to build from the openocd repo then uncomment the three lines here: https://github.com/xpack-dev-tools/openocd-xpack/blob/xpack/scripts/defs-source.sh#L41 FWIW here are all of the commands that I run (all itemised in Liviu's instructions) to do a "default" build using his scripts on a clean VM installation of Ubuntu 18.04: https://xpack.github.io/xbb/prerequisites/ sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - version_name=$(lsb_release -cs) sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu ${version_name} stable" sudo apt-get update sudo apt-get -y install docker-ce sudo docker run hello-world sudo groupadd docker sudo gpasswd -a ${USER} docker sudo service docker restart shutdown -r now docker run hello-world rm -rf ~/Downloads/openocd-xpack.git git clone --recurse-submodules https://github.com/xpack-dev-tools/openocd-xpack.git ~/Downloads/openocd-xpack.git bash ~/Downloads/openocd-xpack.git/scripts/build.sh --all ________________________________ From: Liviu Ionescu <il...@li...> Sent: Saturday 29 August 2020 19:21 To: kri...@te... <kri...@te...> Cc: Tommy Murphy <tom...@ho...>; johan <jo...@em...>; matic <ma...@em...>; openocd-devel <ope...@li...> Subject: Re: [OpenOCD-devel] Missing libusb shared object file in xPack build. > On 29 Aug 2020, at 21:18, kri...@te... wrote: > > ... I got it running properly told you so! > So what would change in these commands to achieve that? ... defs-source.sh' > file (uncommenting the last three lines)? Or is it something else? Keine Ahnung, I never used the scripts with different repos. those three lines were added by Tommy. Liviu |