Product inheritance.
Ronny Nilsson
rln-nard at arbetsmyra.dyndns.org
Tue Apr 14 11:07:21 CEST 2015
Hi
There is a typo in your example which prevents b from working (PRODUKT).
However, even if fixing that the product inheritance wasn't designed for
parallel dependences. It MAY work but I haven't tried it. The idea is:
C includes B includes A includes skeleton
If you want to experiment with:
C includes B, A, skeleton
you need to ensure B and A *don't* include skeleton too (that is, don't
include skeleton multiple times).
/Ronny
------------------------------------
> Hi, i have now managed to build my own products, but have some problems
> with fs-template and inheritance.
>
> i built some products, lets call them a, b, and c
>
> i build product c and product c is including a, b and skeleton.
>
> Like this:
> ######################
> PRODUCT_DEPS += skeleton
> -include $(PATH_TOP)/platform/skeleton/Rules.mk
>
> PRODUCT_DEPS += a
> -include $(PATH_TOP)/platform/a/Rules.mk
>
> PRODUKT_DEPS += b
> -include $(PATH_TOP)/platform/b/Rules.mk
> #####################
>
> all the programs from all the products works, but the fs-template from
> product a and b does not follow.
>
>
> Is it ment to bee like this, or is it something i missed again? :-)
>
>
> //Magnus
More information about the Nard
mailing list