diff options
| author | Christian Eppler <c.eppler@linutonix.de> | 2013-05-13 16:22:27 +0200 |
|---|---|---|
| committer | Christian Eppler <c.eppler@linutonix.de> | 2013-05-13 16:22:27 +0200 |
| commit | 9e05689406c83ae3020ca32a6ec6387466209138 (patch) | |
| tree | 20a95a65df7e46b584c666ec74850df6d62b3045 /kconfig-frontends/bootstrap | |
| parent | cea5039322781f6085dd47954af5584ca3f78911 (diff) | |
Implement Kconfig build system
Signed-off-by: Christian Eppler <c.eppler@linutonix.de>
Diffstat (limited to 'kconfig-frontends/bootstrap')
| -rw-r--r-- | kconfig-frontends/bootstrap | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kconfig-frontends/bootstrap b/kconfig-frontends/bootstrap new file mode 100644 index 0000000..ef523d3 --- /dev/null +++ b/kconfig-frontends/bootstrap @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +printf "Creating macrodir...\n" +macrodir="$( sed -r -e '/^AC_CONFIG_MACRO_DIR\(\[(.*)\]\)/!d;' \ + -e 's//\1/;' \ + configure.ac \ + )" +mkdir -p "${macrodir}" + +printf "Running autoreconf...\n" +autoreconf -f -i -Wall + +# Cleanup the useless stuff... :-( +rm -rf autom4te.cache + +printf "Done. You may now run:\n ./configure\n" |
