summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInki Dae <inki.dae@samsung.com>2020-05-29 09:37:11 +0900
committerInki Dae <inki.dae@samsung.com>2020-06-29 14:41:01 +0900
commitd7d70f51b713dee5b01343f1a85679d7acac39ed (patch)
tree0caf4cbd6a1a09bd71ec6188486ca8eaa7c89da4
parentfa23da8e84ac16034f1534322eede4e5582b1446 (diff)
downloadarmcl-sandbox/inki.dae/v20.05.tar.gz
armcl-sandbox/inki.dae/v20.05.tar.bz2
armcl-sandbox/inki.dae/v20.05.zip
add build scriptsandbox/inki.dae/v20.05
Change-Id: I433dc6a2909f92d5db6fc31524ed373e36058761 Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rwxr-xr-xbuild32_gbs.sh12
-rwxr-xr-xinstall.sh16
2 files changed, 28 insertions, 0 deletions
diff --git a/build32_gbs.sh b/build32_gbs.sh
new file mode 100755
index 000000000..eee8200a3
--- /dev/null
+++ b/build32_gbs.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Set default cross compiler
+
+#rm ~/GBS-ROOT/local/repos/RedwoodEUROPEN/armv7l/RPMS/*
+
+#gbs build -A armv7l --ccache --include-all --keep-packs --incremental
+gbs build -A armv7l --ccache --include-all --keep-packs --incremental
+#gbs build -A aarch64 --include-all --keep-packs
+
+#cp ~/GBS-ROOT/local/repos/RedwoodEUROPEN/armv7l/RPMS/* /home/daeinki/project/share/rpm/
+
+#--include-all : build current package with local changes
diff --git a/install.sh b/install.sh
new file mode 100755
index 000000000..dc05c8874
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,16 @@
+cp ~/GBS-ROOT-UNIFIED-ODROID/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/RPMS/armv7l/libarmcl-v20.05*.rpm .
+cp ~/GBS-ROOT-UNIFIED-ODROID/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/RPMS/armv7l/libarmcl-devel-v20.05*.rpm .
+cp ~/GBS-ROOT-UNIFIED-ODROID/local/BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/RPMS/armv7l/libarmcl-tools-v20.05*.rpm .
+
+sdb root on
+sdb shell mount -o remount,rw /
+
+sdb push libarmcl-v20.05*.rpm /tmp
+sdb push libarmcl-devel-v20.05*.rpm /tmp
+sdb push libarmcl-tools-v20.05*.rpm /tmp
+
+sdb shell rpm -Uvh --force /tmp/libarmcl-v20.05*.rpm
+sdb shell rpm -Uvh --force /tmp/libarmcl-devel-v20.05*.rpm
+sdb shell rpm -Uvh --force /tmp/libarmcl-tools-v20.05*.rpm
+
+sdb shell sync