xref: /kernel/linux/linux-6.6/tools/testing/memblock/scripts/Makefile.include
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/memblock/scripts/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci# Definitions for user-provided arguments
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci# Simulate CONFIG_NUMA=y
562306a36Sopenharmony_ciifeq ($(NUMA), 1)
662306a36Sopenharmony_ci	CFLAGS += -D CONFIG_NUMA -D CONFIG_NODES_SHIFT=4
762306a36Sopenharmony_ciendif
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci# Use 32 bit physical addresses.
1062306a36Sopenharmony_ci# Remember to install 32-bit version of dependencies.
1162306a36Sopenharmony_ciifeq ($(32BIT_PHYS_ADDR_T), 1)
1262306a36Sopenharmony_ci	CFLAGS += -m32 -U CONFIG_PHYS_ADDR_T_64BIT
1362306a36Sopenharmony_ci	LDFLAGS += -m32
1462306a36Sopenharmony_ciendif
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci# Enable memblock_dbg() messages
1762306a36Sopenharmony_ciifeq ($(MEMBLOCK_DEBUG), 1)
1862306a36Sopenharmony_ci	CFLAGS += -D MEMBLOCK_DEBUG
1962306a36Sopenharmony_ciendif
20

Indexes created Thu Nov 07 10:32:03 CST 2024