cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

Makefile (364B)


      1BPF_TESTMOD_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
      2KDIR ?= $(abspath $(BPF_TESTMOD_DIR)/../../../../..)
      3
      4ifeq ($(V),1)
      5Q =
      6else
      7Q = @
      8endif
      9
     10MODULES = bpf_testmod.ko
     11
     12obj-m += bpf_testmod.o
     13CFLAGS_bpf_testmod.o = -I$(src)
     14
     15all:
     16	+$(Q)make -C $(KDIR) M=$(BPF_TESTMOD_DIR) modules
     17
     18clean:
     19	+$(Q)make -C $(KDIR) M=$(BPF_TESTMOD_DIR) clean
     20