From 835571ebcf22165135429efb0d77f11b92540ecf Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Wed, 30 Nov 2016 11:29:30 +0530 Subject: Add initial files for physical LED controller This daemon uses sysfs entry for a particular LED and then triggers necessary action. Name and Path of the LED is needed as command line options to make sure this is genreric implementation. Change-Id: I3d52f1491fcb6ae8119b399a4d2c6770a3f5db30 Signed-off-by: Vishwanatha Subbanna --- bootstrap.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 bootstrap.sh (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..50b75b7 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +AUTOCONF_FILES="Makefile.in aclocal.m4 ar-lib autom4te.cache compile \ + config.guess config.h.in config.sub configure depcomp install-sh \ + ltmain.sh missing *libtool test-driver" + +case $1 in + clean) + test -f Makefile && make maintainer-clean + for file in ${AUTOCONF_FILES}; do + find -name "$file" | xargs -r rm -rf + done + exit 0 + ;; +esac + +autoreconf -i +echo 'Run "./configure ${CONFIGURE_FLAGS} && make"' -- cgit v1.2.1