memblock tests: change build options to run-time options
Change verbose and movable node build options to run-time options.
Movable node usage:
$ ./main -m
Or:
$ ./main --movable-node
Verbose usage:
$ ./main -v
Or:
$ ./main --verbose
Signed-off-by: Rebecca Mckeever <remckee0@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/20220714031717.12258-1-remckee0@gmail.com
This commit is contained in:
committed by
Mike Rapoport
parent
fe833b4edc
commit
06c8580aa2
@@ -6,11 +6,6 @@ ifeq ($(NUMA), 1)
|
||||
CFLAGS += -D CONFIG_NUMA
|
||||
endif
|
||||
|
||||
# Simulate movable NUMA memory regions
|
||||
ifeq ($(MOVABLE_NODE), 1)
|
||||
CFLAGS += -D MOVABLE_NODE
|
||||
endif
|
||||
|
||||
# Use 32 bit physical addresses.
|
||||
# Remember to install 32-bit version of dependencies.
|
||||
ifeq ($(32BIT_PHYS_ADDR_T), 1)
|
||||
@@ -18,11 +13,6 @@ ifeq ($(32BIT_PHYS_ADDR_T), 1)
|
||||
LDFLAGS += -m32
|
||||
endif
|
||||
|
||||
# Enable verbose testing output
|
||||
ifeq ($(VERBOSE), 1)
|
||||
CFLAGS += -D VERBOSE
|
||||
endif
|
||||
|
||||
# Enable memblock_dbg() messages
|
||||
ifeq ($(MEMBLOCK_DEBUG), 1)
|
||||
CFLAGS += -D MEMBLOCK_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user