]> Git Repo - linux.git/blob - include/linux/build-salt.h
kbuild: Add build salt to the kernel and modules
[linux.git] / include / linux / build-salt.h
1 #ifndef __BUILD_SALT_H
2 #define __BUILD_SALT_H
3
4 #include <linux/elfnote.h>
5
6 #define LINUX_ELFNOTE_BUILD_SALT       0x100
7
8 #ifdef __ASSEMBLER__
9
10 #define BUILD_SALT \
11        ELFNOTE(Linux, LINUX_ELFNOTE_BUILD_SALT, .asciz CONFIG_BUILD_SALT)
12
13 #else
14
15 #define BUILD_SALT \
16        ELFNOTE32("Linux", LINUX_ELFNOTE_BUILD_SALT, CONFIG_BUILD_SALT)
17
18 #endif
19
20 #endif /* __BUILD_SALT_H */
This page took 0.033908 seconds and 4 git commands to generate.