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.include (438B)


      1# SPDX-License-Identifier: GPL-2.0
      2# Definitions for user-provided arguments
      3
      4# Simulate CONFIG_NUMA=y
      5ifeq ($(NUMA), 1)
      6	CFLAGS += -D CONFIG_NUMA
      7endif
      8
      9# Simulate movable NUMA memory regions
     10ifeq ($(MOVABLE_NODE), 1)
     11	CFLAGS += -D MOVABLE_NODE
     12endif
     13
     14# Use 32 bit physical addresses.
     15# Remember to install 32-bit version of dependencies.
     16ifeq ($(32BIT_PHYS_ADDR_T), 1)
     17	CFLAGS += -m32 -U CONFIG_PHYS_ADDR_T_64BIT
     18	LDFLAGS += -m32
     19endif