1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Definitions for user-provided arguments 2 # Definitions for user-provided arguments 3 3 4 # Simulate CONFIG_NUMA=y 4 # Simulate CONFIG_NUMA=y 5 ifeq ($(NUMA), 1) 5 ifeq ($(NUMA), 1) 6 CFLAGS += -D CONFIG_NUMA -D CONFIG_NOD 6 CFLAGS += -D CONFIG_NUMA -D CONFIG_NODES_SHIFT=4 7 endif 7 endif 8 8 9 # Use 32 bit physical addresses. 9 # Use 32 bit physical addresses. 10 # Remember to install 32-bit version of depend 10 # Remember to install 32-bit version of dependencies. 11 ifeq ($(32BIT_PHYS_ADDR_T), 1) 11 ifeq ($(32BIT_PHYS_ADDR_T), 1) 12 CFLAGS += -m32 -U CONFIG_PHYS_ADDR_T_6 12 CFLAGS += -m32 -U CONFIG_PHYS_ADDR_T_64BIT 13 LDFLAGS += -m32 13 LDFLAGS += -m32 14 endif 14 endif 15 15 16 # Enable memblock_dbg() messages 16 # Enable memblock_dbg() messages 17 ifeq ($(MEMBLOCK_DEBUG), 1) 17 ifeq ($(MEMBLOCK_DEBUG), 1) 18 CFLAGS += -D MEMBLOCK_DEBUG 18 CFLAGS += -D MEMBLOCK_DEBUG 19 endif 19 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.