addprefix % ??

Erik Joelsson erik.joelsson at oracle.com
Wed Aug 29 00:05:58 PDT 2012


The % character is a wildcard for the filter-out function. By prepending 
it to all the filenames in NOT_JRE_LIB_FILES, that list can be used to 
filter the full path list in ALL_LIB_LIST.

/Erik

On 2012-08-29 07:31, David Holmes wrote:
> In the following:
>
> JDKJRE_LIB_LIST := $(filter-out $(addprefix 
> %,$(NOT_JRE_LIB_FILES)),$(ALL_LIB_LIST))
>
> what does the % do as part of the add prefix? Does it literally add a 
> % character? If so how is that then used? If I print out the variable 
> there are no % values.
>
> ???
>
> Thanks,
> David



More information about the build-infra-dev mailing list