cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

Makefile (411B)


      1# To specify cross compiler prefix, use CROSS_PREFIX=
      2#   $ make CROSS_PREFIX=aarch64-linux-gnu-
      3
      4.PHONY: all clean
      5all: a-b-kernel.h
      6
      7a-b-kernel.h: aarch64.kernel
      8	echo "$$__note" > $@
      9	xxd -i $< | sed -e 's/.*int.*//' >> $@
     10
     11aarch64.kernel: aarch64.elf
     12	$(CROSS_PREFIX)objcopy -O binary $< $@
     13
     14aarch64.elf: a-b-kernel.S
     15	$(CROSS_PREFIX)gcc -o $@ -nostdlib -Wl,--build-id=none $<
     16
     17clean:
     18	$(RM) *.kernel *.elf