author: kx <kx@radix.pro> 2023-04-11 01:18:34 +0300
committer: kx <kx@radix.pro> 2023-04-11 01:18:34 +0300
commit: 11c606a6888dc269ef018359469a7276c3ad8f67
parent: 8c55752ed5b29a22fdab9faaa6ff27b7cafa6791
Commit Summary:
Diffstat:
5 files changed, 53 insertions, 0 deletions
diff --git a/doc/autogen-examples/auto-clean.sh b/doc/autogen-examples/auto-clean.sh
new file mode 100755
index 0000000..079b699
--- /dev/null
+++ b/doc/autogen-examples/auto-clean.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+cd ../..
+
+if [ -f "Makefile" ] ; then
+ make distclean
+fi
+
+rm -rf autom4te.cache m4
+
+rm -f Makefile
+rm -f Makefile.in
+rm -f config.h
+rm -f config.h.in
+rm -f config.log
+rm -f config.status
+rm -f compile config.guess config.sub
+rm -f configure
+rm -f install-sh
+rm -f missing
+rm -f stamp-h1
+rm -f aclocal.m4
+rm -f depcomp
+
+rm -rf src/.deps
+rm -f src/Makefile
+rm -f src/Makefile.in
diff --git a/doc/autogen-examples/bootstrap-cross.sh b/doc/autogen-examples/bootstrap-cross.sh
new file mode 100755
index 0000000..aa5e3f6
--- /dev/null
+++ b/doc/autogen-examples/bootstrap-cross.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+TARGET_DEST_DIR=/home/kx/prog/scm/svn/platform/trunk-672/dist/.s9xx-glibc/enybox-x2
+
+cd ../..
+./bootstrap --target-dest-dir=${TARGET_DEST_DIR}
diff --git a/doc/autogen-examples/bootstrap.sh b/doc/autogen-examples/bootstrap.sh
new file mode 100755
index 0000000..59b68f5
--- /dev/null
+++ b/doc/autogen-examples/bootstrap.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd ../..
+./bootstrap
diff --git a/doc/autogen-examples/configure-cross.sh b/doc/autogen-examples/configure-cross.sh
new file mode 100755
index 0000000..9c74ac8
--- /dev/null
+++ b/doc/autogen-examples/configure-cross.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+cd ../..
+
+TARGET_DEST_DIR=/home/kx/prog/scm/svn/platform/trunk-672/dist/.s9xx-glibc/enybox-x2
+TOOLCHAIN_PATH=/opt/toolchain/aarch64-S9XX-linux-glibc/1.1.4/bin
+TARGET=aarch64-s9xx-linux-gnu
+
+TARGET_INCPATH="-L${TARGET_DEST_DIR}/usr/include"
+CFLAGS="${TARGET_INCPATH}"
+CPPFLAGS="${TARGET_INCPATH}"
+LDFLAGS="-L${TARGET_DEST_DIR}/lib -L${TARGET_DEST_DIR}/usr/lib"
+
+
+DIALOG_CONFIG=${TARGET_DEST_DIR}/usr/bin/dialog-config \
+STRIP="${TOOLCHAIN_PATH}/${TARGET}-strip" \
+CC="${TOOLCHAIN_PATH}/${TARGET}-gcc --sysroot=${TARGET_DEST_DIR}" \
+./configure --prefix=/usr \
+ --build=x86_64-pc-linux-gnu --host=${TARGET} \
+ --with-gpg2=${TARGET_DEST_DIR}/usr \
+ --with-dialog=${TARGET_DEST_DIR}/usr \
+ --with-dialog-test=yes
diff --git a/doc/autogen-examples/configure.sh b/doc/autogen-examples/configure.sh
new file mode 100755
index 0000000..7c743fd
--- /dev/null
+++ b/doc/autogen-examples/configure.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd ../..
+
+./configure --prefix=/usr \
+ --with-distro-name=radix \
+ --with-distro-version=1.1 \
+ --with-gpg2=yes \
+ --with-dialog=yes