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

Kay Sievers kay at vrfy.org
Wed Aug 21 15:51:58 PDT 2013


On Thu, Aug 22, 2013 at 12:28 AM, Jan Engelhardt <jengelh at inai.de> 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.

Ah, right, it's the "installation dir", not the one to read from.

Thanks,
Kay


More information about the systemd-devel mailing list