Hello Vikram,
* Vikram Ambrose wrote on Thu, Aug 07, 2008 at 10:49:58PM CEST:
> Monty Taylor wrote:
>> Vikram Ambrose wrote:
>>>
>>> SUBDIRS = pkgA pkgB $(extra_pkgs)
>>>
>>> extra_pkgs =
>>> if BUILD_pkgC
>>> extra_pkgs += pkgC
>>> endif
>>>
>>> Both of which work, for make; make install; make
Monty Taylor wrote:
Vikram Ambrose wrote:
I have a problem trying to conditional include a subdir into a build
configuration or not.
I have tried two things.
1)
-
SUBDIRS = pkgA pkgB
if BUILD_pkgC
SUBDIRS += pkgC
endif
--
Vikram Ambrose wrote:
> I have a problem trying to conditional include a subdir into a build
> configuration or not.
>
> I have tried two things.
> 1)
> -
> SUBDIRS = pkgA pkgB
>
> if BUILD_pkgC
> SUBDIRS += pkgC
> endif
>
I have a problem trying to conditional include a subdir into a build
configuration or not.
I have tried two things.
1)
-
SUBDIRS = pkgA pkgB
if BUILD_pkgC
SUBDIRS += pkgC
endif
-
2)
-