meson: use headers in our code base when checking filesystem table

Note, GFS2_MAGIC is also defined in missing_magic.h, so
linux/gfs2_ondisk.h is not necessary anymore.
This commit is contained in:
Yu Watanabe
2024-04-10 06:44:02 +09:00
parent 2c57fcabab
commit 0a07ee146d

View File

@@ -234,8 +234,10 @@ run_target(
############################################################
filesystem_includes = ['linux/magic.h',
'linux/gfs2_ondisk.h']
filesystem_includes = files(
'linux/magic.h',
'missing_magic.h',
)
check_filesystems = find_program('check-filesystems.sh')
r = run_command([check_filesystems, cpp, files('filesystems-gperf.gperf')] + filesystem_includes, check: false)