xref: /linux/arch/x86/realmode/Makefile (revision 95298d63c67673c654c08952672d016212b26054)
1#
2# arch/x86/realmode/Makefile
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License.  See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8#
9
10# Sanitizer runtimes are unavailable and cannot be linked here.
11KASAN_SANITIZE			:= n
12KCSAN_SANITIZE			:= n
13OBJECT_FILES_NON_STANDARD	:= y
14
15subdir- := rm
16
17obj-y += init.o
18obj-y += rmpiggy.o
19
20$(obj)/rmpiggy.o: $(obj)/rm/realmode.bin
21
22$(obj)/rm/realmode.bin: FORCE
23	$(Q)$(MAKE) $(build)=$(obj)/rm $@
24