1 # SPDX-License-Identifier: GPL-2.0 2 # 3 # create a compressed vmlinux image from the o 4 # 5 6 targets := vmlinux head.o misc.o piggy 7 asflags-y := 8 9 OBJECTS = $(obj)/head.o $(obj)/misc.o 10 11 LDFLAGS_vmlinux := -T 12 13 $(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) 14 $(call if_changed,ld) 15 16 LDFLAGS_piggy.o := -r --format binary --oforma 17 18 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../v 19 $(call if_changed,ld)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.