Messages in this thread | | | Subject | Re: [PATCH 5/7] um: Add an internal header shared among the user code | From | Johannes Berg <> | Date | Tue, 23 Apr 2024 13:30:57 +0200 |
| |
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
| |