[systemd-devel] [PATCH 3/5] Makefile.am: Allow for user override of EFI include dir

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Aug 21 15:40:32 PDT 2013


On Thu, Aug 22, 2013 at 12:28:48AM +0200, Jan Engelhardt wrote:
> 
> On Wednesday 2013-08-21 21:02, Kay Sievers wrote:
> >On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart <dvhart at linux.intel.com> wrote:
> >> --- a/Makefile.am
> >> +++ b/Makefile.am
> >> @@ -72,10 +72,11 @@ CLEANFILES += man/gummiboot.8
> >>  efi_loadername = gummiboot$(MACHINE_TYPE_NAME).efi
> >>  efi_sources = src/efi/gummiboot.c
> >>
> >> +INCDIR := /usr/include
> >>  efi_cppflags = \
> >>         -I$(top_builddir) -include config.h \
> >> -       -I/usr/include/efi \
> >> -       -I/usr/include/efi/$(ARCH)
> >> +       -I$(INCDIR)/efi \
> >> +       -I$(INCDIR)/efi/$(ARCH)
> >
> >Hmm, how do other projects do this?
> >
> >Is'n autoconfs:
> >  ./configure --includedir
> >supposed to do that?
> 
> No, --includedir= specifies where the headers for use with just-built
> software goes.
> 
> See AC_ARG_WITH(kbd-loadkeys ... in configure.ac
> for what should be used to specify some value used during build.
Yeah, that's probably better than AC_ARG_VAR is suggested.

Zbyszek


More information about the systemd-devel mailing list