Don't intermix sources and headers. Use an own include directory like on all other architectures.
Signed-off-by: Ralf Ramsauer <[email protected]> --- inmates/lib/x86/Makefile.lib | 1 + inmates/lib/x86/{ => include}/inmate.h | 0 2 files changed, 1 insertion(+) rename inmates/lib/x86/{ => include}/inmate.h (100%) diff --git a/inmates/lib/x86/Makefile.lib b/inmates/lib/x86/Makefile.lib index e02fa474..fec117ab 100644 --- a/inmates/lib/x86/Makefile.lib +++ b/inmates/lib/x86/Makefile.lib @@ -39,6 +39,7 @@ -include $(GEN_CONFIG_MK) KBUILD_CFLAGS += -m64 -mno-red-zone +LINUXINCLUDE += -I$(INMATES_LIB)/include define DECLARE_TARGETS = _TARGETS = $(1) diff --git a/inmates/lib/x86/inmate.h b/inmates/lib/x86/include/inmate.h similarity index 100% rename from inmates/lib/x86/inmate.h rename to inmates/lib/x86/include/inmate.h -- 2.17.0 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
