magic.mk 538 Bytes
Newer Older
1
2
# SPDX-License-Identifier: GPL-2.0

J. R. Okajima's avatar
J. R. Okajima committed
3
4
5
6
7
8
# defined in ${srctree}/fs/xfs/xfs_sb.h
# tristate
ifdef CONFIG_XFS_FS
ccflags-y += -DXFS_SB_MAGIC=0x58465342
endif

9
10
11
12
13
# defined in ${srctree}/fs/configfs/mount.c
# tristate
ifdef CONFIG_CONFIGFS_FS
ccflags-y += -DCONFIGFS_MAGIC=0x62656570
endif
J. R. Okajima's avatar
J. R. Okajima committed
14
15
16
17
18
19

# defined in ${srctree}/fs/ubifs/ubifs.h
# tristate
ifdef CONFIG_UBIFS_FS
ccflags-y += -DUBIFS_SUPER_MAGIC=0x24051905
endif
J. R. Okajima's avatar
J. R. Okajima committed
20
21
22
23
24
25

# defined in ${srctree}/fs/hfsplus/hfsplus_raw.h
# tristate
ifdef CONFIG_HFSPLUS_FS
ccflags-y += -DHFSPLUS_SUPER_MAGIC=0x482b
endif