Makefile (552c69b36ebd966186573b9c7a286b390935cce1) | Makefile (5f2fb52fac15a8a8e10ce020dd532504a8abfc4e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2PHONY += posttest 3 4ifeq ($(KBUILD_VERBOSE),1) 5 posttest_verbose = -v 6else 7 posttest_verbose = 8endif --- 12 unchanged lines hidden (view full) --- 21 22quiet_cmd_sanitytest = TEST $@ 23 cmd_sanitytest = $(obj)/insn_sanity $(posttest_64bit) -m 1000000 24 25posttest: $(obj)/insn_decoder_test vmlinux $(obj)/insn_sanity 26 $(call cmd,posttest) 27 $(call cmd,sanitytest) 28 | 1# SPDX-License-Identifier: GPL-2.0 2PHONY += posttest 3 4ifeq ($(KBUILD_VERBOSE),1) 5 posttest_verbose = -v 6else 7 posttest_verbose = 8endif --- 12 unchanged lines hidden (view full) --- 21 22quiet_cmd_sanitytest = TEST $@ 23 cmd_sanitytest = $(obj)/insn_sanity $(posttest_64bit) -m 1000000 24 25posttest: $(obj)/insn_decoder_test vmlinux $(obj)/insn_sanity 26 $(call cmd,posttest) 27 $(call cmd,sanitytest) 28 |
29hostprogs-y += insn_decoder_test insn_sanity | 29hostprogs += insn_decoder_test insn_sanity |
30 31# -I needed for generated C source and C source which in the kernel tree. 32HOSTCFLAGS_insn_decoder_test.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/uapi/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/uapi/ 33 34HOSTCFLAGS_insn_sanity.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/ 35 36# Dependencies are also needed. 37$(obj)/insn_decoder_test.o: $(srctree)/arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(srctree)/arch/x86/include/asm/inat.h $(srctree)/arch/x86/include/asm/insn.h $(objtree)/arch/x86/lib/inat-tables.c 38 39$(obj)/insn_sanity.o: $(srctree)/arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(srctree)/arch/x86/include/asm/inat.h $(srctree)/arch/x86/include/asm/insn.h $(objtree)/arch/x86/lib/inat-tables.c 40 41HOST_EXTRACFLAGS += -I$(srctree)/tools/include | 30 31# -I needed for generated C source and C source which in the kernel tree. 32HOSTCFLAGS_insn_decoder_test.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/uapi/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/uapi/ 33 34HOSTCFLAGS_insn_sanity.o := -Wall -I$(objtree)/arch/x86/lib/ -I$(srctree)/arch/x86/include/ -I$(srctree)/arch/x86/lib/ -I$(srctree)/include/ 35 36# Dependencies are also needed. 37$(obj)/insn_decoder_test.o: $(srctree)/arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(srctree)/arch/x86/include/asm/inat.h $(srctree)/arch/x86/include/asm/insn.h $(objtree)/arch/x86/lib/inat-tables.c 38 39$(obj)/insn_sanity.o: $(srctree)/arch/x86/lib/insn.c $(srctree)/arch/x86/lib/inat.c $(srctree)/arch/x86/include/asm/inat_types.h $(srctree)/arch/x86/include/asm/inat.h $(srctree)/arch/x86/include/asm/insn.h $(objtree)/arch/x86/lib/inat-tables.c 40 41HOST_EXTRACFLAGS += -I$(srctree)/tools/include |
42hostprogs-y += relocs | 42hostprogs += relocs |
43relocs-objs := relocs_32.o relocs_64.o relocs_common.o 44PHONY += relocs 45relocs: $(obj)/relocs 46 @: | 43relocs-objs := relocs_32.o relocs_64.o relocs_common.o 44PHONY += relocs 45relocs: $(obj)/relocs 46 @: |