On Tue, 2024-04-23 at 19:24 +0800, Tiwei Bie wrote: > > $(USER_OBJS:.o=.%): \ > - c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) -include > $(srctree)/include/linux/kern_levels.h -include user.h > $(CFLAGS_$(basetarget).o) > + c_flags = -Wp,-MD,$(depfile) $(USER_CFLAGS) -include > $(srctree)/include/linux/kern_levels.h \ > + -include user.h -include $(srctree)/arch/um/os-Linux/internal.h > $(CFLAGS_$(basetarget).o) >
Why not just include it explicitly? We do have the warnings? johannes