diff mbox

[v1,1/3] ucm-conf: Set up for installation

Message ID 04a4f7a2fd088ee8206167ba783d0af7c4cfaaa2.1487897097.git.fuweix.tang@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

fuweix.tang@intel.com March 15, 2017, 6:47 a.m. UTC
From: Fuwei Tang <fuweix.tang@intel.com>

This add autoconf and automake script and Makefile.am for conf files to be installed automatically.

Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-by: Mengdong Lin <mengdong.lin@linux.intel.com>

Comments

Takashi Iwai March 20, 2017, 11:54 a.m. UTC | #1
On Wed, 15 Mar 2017 07:47:01 +0100,
fuweix.tang@intel.com wrote:
> 
> From: Fuwei Tang <fuweix.tang@intel.com>
> 
> This add autoconf and automake script and Makefile.am for conf files to be installed automatically.
> 
> Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
> Reviewed-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
> Reviewed-by: Vinod Koul <vinod.koul@intel.com>
> Reviewed-by: Mengdong Lin <mengdong.lin@linux.intel.com>
> 
> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..e612a96
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,13 @@
> +aclocal.m4
> +AUTHORS
> +autom4te.cache
> +autoscan.log
> +config.log
> +config.status
> +configure
> +install-sh
> +Makefile
> +Makefile.in
> +missing
> +NEWS
> +COPYING
> diff --git a/ChangeLog b/ChangeLog
> new file mode 100644
> index 0000000..2a8eb65
> --- /dev/null
> +++ b/ChangeLog
> @@ -0,0 +1 @@
> +Move all conf files to alsa-ucm-conf repo from alsa-lib repo.
> diff --git a/INSTALL b/INSTALL
> new file mode 120000
> index 0000000..ddcdb76
> --- /dev/null
> +++ b/INSTALL
> @@ -0,0 +1 @@
> +/usr/share/automake-1.15/INSTALL
> \ No newline at end of file
> diff --git a/Makefile.am b/Makefile.am
> new file mode 100644
> index 0000000..e2baa04
> --- /dev/null
> +++ b/Makefile.am
> @@ -0,0 +1 @@
> +SUBDIRS=
> diff --git a/configure.ac b/configure.ac
> new file mode 100644
> index 0000000..8aac3c8
> --- /dev/null
> +++ b/configure.ac
> @@ -0,0 +1,22 @@
> +#                                               -*- Autoconf -*-
> +# Process this file with autoconf to produce a configure script.
> +
> +AC_PREREQ([2.69])
> +AC_INIT(alsa-ucm, 1.1.3)
> +AM_INIT_AUTOMAKE
> +# Checks for programs.
> +
> +# Checks for libraries.
> +
> +# Checks for header files.
> +
> +# Checks for typedefs, structures, and compiler characteristics.
> +
> +# Checks for library functions.
> +AC_CONFIG_FILES([Makefile])
> +
> +ALSA_CONFIG_DIR="/usr/share/alsa"
> +AC_SUBST(ALSA_CONFIG_DIR)

Why not make it configurable?


Takashi
fuweix.tang@intel.com March 21, 2017, 1:03 a.m. UTC | #2
> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Monday, March 20, 2017 7:54 PM
> To: Tang, FuweiX <fuweix.tang@intel.com>
> Cc: alsa-devel@alsa-project.org; liam.r.girdwood@linux.intel.com; Lin,
> Mengdong <mengdong.lin@intel.com>
> Subject: Re: [alsa-devel] [PATCH v1 1/3] ucm-conf: Set up for installation
> 
> On Wed, 15 Mar 2017 07:47:01 +0100,
> fuweix.tang@intel.com wrote:
> >
> > From: Fuwei Tang <fuweix.tang@intel.com>
> >
> > This add autoconf and automake script and Makefile.am for conf files to be
> installed automatically.
> >
> > Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
> > Reviewed-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
> > Reviewed-by: Vinod Koul <vinod.koul@intel.com>
> > Reviewed-by: Mengdong Lin <mengdong.lin@linux.intel.com>
> >
> > diff --git a/.gitignore b/.gitignore
> > new file mode 100644
> > index 0000000..e612a96
> > --- /dev/null
> > +++ b/.gitignore
> > @@ -0,0 +1,13 @@
> > +aclocal.m4
> > +AUTHORS
> > +autom4te.cache
> > +autoscan.log
> > +config.log
> > +config.status
> > +configure
> > +install-sh
> > +Makefile
> > +Makefile.in
> > +missing
> > +NEWS
> > +COPYING
> > diff --git a/ChangeLog b/ChangeLog
> > new file mode 100644
> > index 0000000..2a8eb65
> > --- /dev/null
> > +++ b/ChangeLog
> > @@ -0,0 +1 @@
> > +Move all conf files to alsa-ucm-conf repo from alsa-lib repo.
> > diff --git a/INSTALL b/INSTALL
> > new file mode 120000
> > index 0000000..ddcdb76
> > --- /dev/null
> > +++ b/INSTALL
> > @@ -0,0 +1 @@
> > +/usr/share/automake-1.15/INSTALL
> > \ No newline at end of file
> > diff --git a/Makefile.am b/Makefile.am new file mode 100644 index
> > 0000000..e2baa04
> > --- /dev/null
> > +++ b/Makefile.am
> > @@ -0,0 +1 @@
> > +SUBDIRS=
> > diff --git a/configure.ac b/configure.ac new file mode 100644 index
> > 0000000..8aac3c8
> > --- /dev/null
> > +++ b/configure.ac
> > @@ -0,0 +1,22 @@
> > +#                                               -*- Autoconf -*-
> > +# Process this file with autoconf to produce a configure script.
> > +
> > +AC_PREREQ([2.69])
> > +AC_INIT(alsa-ucm, 1.1.3)
> > +AM_INIT_AUTOMAKE
> > +# Checks for programs.
> > +
> > +# Checks for libraries.
> > +
> > +# Checks for header files.
> > +
> > +# Checks for typedefs, structures, and compiler characteristics.
> > +
> > +# Checks for library functions.
> > +AC_CONFIG_FILES([Makefile])
> > +
> > +ALSA_CONFIG_DIR="/usr/share/alsa"
> > +AC_SUBST(ALSA_CONFIG_DIR)
> 
> Why not make it configurable?
> 
> 
> Takashi

Ok, I will do so. Thank you.

Fuwei
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e612a96
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,13 @@ 
+aclocal.m4
+AUTHORS
+autom4te.cache
+autoscan.log
+config.log
+config.status
+configure
+install-sh
+Makefile
+Makefile.in
+missing
+NEWS
+COPYING
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..2a8eb65
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1 @@ 
+Move all conf files to alsa-ucm-conf repo from alsa-lib repo.
diff --git a/INSTALL b/INSTALL
new file mode 120000
index 0000000..ddcdb76
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1 @@ 
+/usr/share/automake-1.15/INSTALL
\ No newline at end of file
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..e2baa04
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1 @@ 
+SUBDIRS=
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..8aac3c8
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,22 @@ 
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.69])
+AC_INIT(alsa-ucm, 1.1.3)
+AM_INIT_AUTOMAKE
+# Checks for programs.
+
+# Checks for libraries.
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+AC_CONFIG_FILES([Makefile])
+
+ALSA_CONFIG_DIR="/usr/share/alsa"
+AC_SUBST(ALSA_CONFIG_DIR)
+
+AC_OUTPUT
+
diff --git a/gitcompile b/gitcompile
new file mode 100755
index 0000000..fff6769
--- /dev/null
+++ b/gitcompile
@@ -0,0 +1,5 @@ 
+#!/bin/bash
+
+aclocal
+autoconf
+automake --add-missing