summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-08-12 21:57:52 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-09-06 09:51:19 -0500
commitf4e58e6b730fa687890e47aefcb4a9b833a2d3a8 (patch)
tree486dece092886fb77384c47ca3a1e937522d7302 /bootstrap.sh
parent686df74e15a610de6a4b20a260704ab4ff00dc50 (diff)
downloadphosphor-host-ipmid-f4e58e6b730fa687890e47aefcb4a9b833a2d3a8.tar.gz
phosphor-host-ipmid-f4e58e6b730fa687890e47aefcb4a9b833a2d3a8.zip
Add bootstrap.sh
Change-Id: Id01b9ad969f96b0f79623ad9cf2a06f6714a07b1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000..4501fb1
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile config.* \
+ configure depcomp install-sh ltmain.sh missing *libtool"
+
+case $1 in
+ clean)
+ test -f Makefile && make maintainer-clean
+ rm -rf ${AUTOCONF_FILES}
+
+ exit 0
+ ;;
+esac
+
+autoreconf -i
+echo 'Run "./configure ${CONFIGURE_FLAGS} && make"'
OpenPOWER on IntegriCloud