|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH] build: Define preprocessing symbol for library name
Hey Costin,my two cents to this patch: I remember a similar case that we had in lib/ukdebug: A header is exposing different definitions depending if it is included from within the library or externally. For this purpose, we add the define as library-local flag within its Makefile.uk instead: LIBUKDEBUG_CFLAGS-y += -D__IN_LIBUKDEBUG__Each library that needs something similar could solve the issue the same way (like lwip). The building blocks are already there. I think this is a more conservative and maybe also safer approach. Less flags are set automatically by the build system which may prevent us from conflicts at later points. Thanks, Simon On 02.08.19 14:47, Costin Lupu wrote: _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |