Message ID | 20231031230336.51110-1-brandon.maier@collins.com |
---|---|
State | Changes Requested |
Headers | show |
Series | [1/1] aufs-util: fix build error for missing linux header | expand |
On Tue, 31 Oct 2023 23:03:36 +0000 Brandon Maier via buildroot <buildroot@buildroot.org> wrote: > From: Kalpesh Panchal <kalpesh.panchal2@collins.com> > > added missing linux header path to fix below build error: > > - $(LINUX_DIR)/include/uapi/linux/stddef.h:5:10:fatal error: linux/compiler_types.h: No such file or directory > > Signed-off-by: Kalpesh Panchal <kalpesh.panchal2@collins.com> > Signed-off-by: Brandon Maier <brandon.maier@collins.com> Could you document a bit more your commit log? Which defconfig exhibits the issue? Since when this problem started occurring? We have no autobuilder issues for this, and you don't explain why this used to work, but doesn't work anymore. Could you do a bit more research, and provide a more exhaustive/documented explanation? Thanks a lot! Thomas
diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index 32f3bca151..c334b8c014 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -21,11 +21,13 @@ AUFS_UTIL_DEPENDENCIES = linux AUFS_UTIL_HOST_CPPFLAGS = \ $(HOST_CPPFLAGS) \ -I$(LINUX_DIR)/include/uapi \ + -I$(LINUX_DIR)/include \ -D__user= AUFS_UTIL_CPPFLAGS = \ $(TARGET_CPPFLAGS) \ -I$(LINUX_DIR)/include/uapi \ + -I$(LINUX_DIR)/include \ -D__user= # rdu64 is supposed to provide the LFS variant of readdir(),