Hi Phillippe, Yeah, I forgot to fill my example. Thanks for the catch.
It is exactly as Bob mentioned, #include MACRO(xxx.h). There are silicon code use macro to separate definitions, and use the approach to reuse code. Like: #define PATH(x) <silicon1/x.h> // in platform 1 #define PATH(x) <silicon2/x.h> // in platform 2 #include PATH(abc.h) // in common code -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#49135): https://edk2.groups.io/g/devel/message/49135 Mute This Topic: https://groups.io/mt/34557472/21656 Mute #include: https://groups.io/mk?hashtag=include&subid=3846945 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-