tests/arm-cpu-features: Check feature default values
[qemu/ar7.git] / tests / migration / i386 / Makefile
blob5c0324134a7d98906cab64ab615b96856ac01e60
1 # To specify cross compiler prefix, use CROSS_PREFIX=
2 # $ make CROSS_PREFIX=x86_64-linux-gnu-
4 .PHONY: all clean
5 all: a-b-bootblock.h
7 a-b-bootblock.h: x86.bootsect
8 echo "$$__note" > header.tmp
9 xxd -i $< | sed -e 's/.*int.*//' >> header.tmp
10 mv header.tmp $@
12 x86.bootsect: x86.boot
13 dd if=$< of=$@ bs=256 count=2 skip=124
15 x86.boot: x86.o
16 $(CROSS_PREFIX)objcopy -O binary $< $@
18 x86.o: a-b-bootblock.S
19 $(CROSS_PREFIX)gcc -m32 -march=i486 -c $< -o $@
21 clean:
22 @rm -rf *.boot *.o *.bootsect