qemu/tests/migration/ppc64/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
316 B
Makefile
Raw Normal View History

.PHONY: all clean
all: a-b-kernel.h
a-b-kernel.h: ppc64.kernel
echo "$$__note" > $@
xxd -i $< | sed -e 's/.*int.*//' >> $@
ppc64.kernel: ppc64.elf
$(CROSS_PREFIX)objcopy -O binary -S $< $@
ppc64.elf: a-b-kernel.S
$(CROSS_PREFIX)gcc -static -o $@ -nostdlib -Wl,--build-id=none $<
clean:
$(RM) *.kernel *.elf