blob: 62683b0b3db0904a1baa4ca2a74bb996cbd4728b [file] [log] [blame]
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +01001#!/bin/bash
Liam Girdwood5f5d7c22017-11-26 08:14:02 +08002rm -f .build
Pierre-Louis Bossartf7beb512018-01-22 08:32:31 -06003if [ ! -f .git/hooks/pre-commit ]; then
4 ln -s -f ../../scripts/sof-pre-commit-hook.sh .git/hooks/pre-commit
5fi
6if [ ! -f .git/hooks/post-commit ]; then
7 ln -s -f ../../scripts/sof-post-commit-hook.sh .git/hooks/post-commit
8fi
Liam Girdwoodc0dfb4e2016-09-21 15:57:22 +01009libtoolize -c --force
10aclocal -I m4 --install
11autoconf -Wall
12autoheader
13automake -a --copy --foreign --add-missing