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

Jan Engelhardt jengelh at inai.de
Wed Aug 21 15:28:48 PDT 2013


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.


More information about the systemd-devel mailing list