Skip to content

Commit

Permalink
Updating scripts for latests BR version
Browse files Browse the repository at this point in the history
  • Loading branch information
Catherine Garabedian committed May 23, 2019
1 parent b7e46d2 commit c03be99
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 36 deletions.
4 changes: 2 additions & 2 deletions tools/format-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

device=""
image=kubos-linux.img
branch=master
branch=1.0
package=0
size=3800
output=output
Expand Down Expand Up @@ -69,7 +69,7 @@ do
;;
esac
done
: ${BASE_DIR:=../../buildroot-2017.02.8/${output}}
: ${BASE_DIR:=../../buildroot-2019.02.2/${output}}

if [ "${package}" -gt "1" ] && [ ! ${rflag} ]; then
echo "-t target must be specified in order to build kernel" >&2
Expand Down
2 changes: 1 addition & 1 deletion tools/format-sd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ do
;;
esac
done
: ${BASE_DIR:=../../buildroot-2017.02.8/output}
: ${BASE_DIR:=../../buildroot-2019.02.2/output}

if ${wipe}; then
echo '\nWiping SD card. This may take a while...'
Expand Down
2 changes: 1 addition & 1 deletion tools/kpack-NOR.its
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

images {
dtb@1 {
data = /incbin/("./../../buildroot-2017.02.8/output/images/at91sam9g20isis.dtb");
data = /incbin/("./../../buildroot-2019.02.2/output/images/at91sam9g20isis.dtb");
type = "firmware";
arch = "arm";
os = "linux";
Expand Down
4 changes: 2 additions & 2 deletions tools/kubos-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#

input=kubos-kernel.its
branch=master
branch=1.0
output=output

# Process command arguments
Expand All @@ -40,7 +40,7 @@ do
;;
esac
done
: ${BASE_DIR:=../../buildroot-2017.02.8/${output}}
: ${BASE_DIR:=../../buildroot-2019.02.2/${output}}

# Build the package
${BASE_DIR}/build/uboot-${branch}/tools/mkimage -f ${input} kubos-kernel.itb
Expand Down
4 changes: 2 additions & 2 deletions tools/kubos-nor-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

version=$(date +%Y.%m.%d)
input=kpack-NOR.its
branch=master
branch=1.0

# Process command arguments

Expand All @@ -40,7 +40,7 @@ do
;;
esac
done
: ${BASE_DIR:=../../buildroot-2017.02.8/output}
: ${BASE_DIR:=../../buildroot-2019.02.2/output}

# Build the package
${BASE_DIR}/build/uboot-${branch}/tools/mkimage -f ${input} kpack-nor-${version}.itb
Expand Down
4 changes: 2 additions & 2 deletions tools/kubos-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

version=$(date +%Y.%m.%d)
input=kpack.its
branch=master
branch=1.0
rflag=false
kernel=false
output=output
Expand Down Expand Up @@ -58,7 +58,7 @@ do
;;
esac
done
: ${BASE_DIR:=../../buildroot-2017.02.8/${output}}
: ${BASE_DIR:=../../buildroot-2019.02.2/${output}}

if ! ${rflag}
then
Expand Down
26 changes: 0 additions & 26 deletions tools/patch-buildroot.sh

This file was deleted.

0 comments on commit c03be99

Please sign in to comment.