stubs dir will contain empty/stubs generic for all architectures
headers.
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
---
Changes in V2:
- Nothing changed.
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
index f57e5a596c..64c3542c84 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -438,6 +438,7 @@ ifdef building_out_of_srctree
endif
CFLAGS += -I$(srctree)/include
CFLAGS += -I$(srctree)/arch/$(SRCARCH)/include
+CFLAGS += -I$(srctree)/include/stubs
# Note that link order matters!
ALL_OBJS-y := common/built_in.o
--
2.41.0
On 29.08.2023 16:34, Oleksii Kurochko wrote: > --- a/xen/Makefile > +++ b/xen/Makefile > @@ -438,6 +438,7 @@ ifdef building_out_of_srctree > endif > CFLAGS += -I$(srctree)/include > CFLAGS += -I$(srctree)/arch/$(SRCARCH)/include > +CFLAGS += -I$(srctree)/include/stubs > > # Note that link order matters! > ALL_OBJS-y := common/built_in.o I have to admit that I'm not entirely happy with the name. I wonder what other REST maintainers think. In particular I would consider using Linux'es "asm-generic" name instead, allowing to cover both stub headers like the one to be introduced here, but also other kinds of "fallback" ones. Jan
On Wed, 2023-08-30 at 09:30 +0200, Jan Beulich wrote: > On 29.08.2023 16:34, Oleksii Kurochko wrote: > > --- a/xen/Makefile > > +++ b/xen/Makefile > > @@ -438,6 +438,7 @@ ifdef building_out_of_srctree > > endif > > CFLAGS += -I$(srctree)/include > > CFLAGS += -I$(srctree)/arch/$(SRCARCH)/include > > +CFLAGS += -I$(srctree)/include/stubs > > > > # Note that link order matters! > > ALL_OBJS-y := common/built_in.o > > I have to admit that I'm not entirely happy with the name. I wonder > what > other REST maintainers think. In particular I would consider using > Linux'es "asm-generic" name instead, allowing to cover both stub > headers > like the one to be introduced here, but also other kinds of > "fallback" > ones. It make sense. I'll update the patch series. ~ Oleksii
Hi Jan, > On 30 Aug 2023, at 09:30, Jan Beulich <jbeulich@suse.com> wrote: > > On 29.08.2023 16:34, Oleksii Kurochko wrote: >> --- a/xen/Makefile >> +++ b/xen/Makefile >> @@ -438,6 +438,7 @@ ifdef building_out_of_srctree >> endif >> CFLAGS += -I$(srctree)/include >> CFLAGS += -I$(srctree)/arch/$(SRCARCH)/include >> +CFLAGS += -I$(srctree)/include/stubs >> >> # Note that link order matters! >> ALL_OBJS-y := common/built_in.o > > I have to admit that I'm not entirely happy with the name. I wonder what > other REST maintainers think. In particular I would consider using > Linux'es "asm-generic" name instead, allowing to cover both stub headers > like the one to be introduced here, but also other kinds of "fallback" > ones. > This is a great idea. +1 on asm-generic Cheers Bertrand > Jan >
© 2016 - 2026 Red Hat, Inc.