diff options
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r-- | src/tests/qemu/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile index 4261b89..0469b3a 100644 --- a/src/tests/qemu/Makefile +++ b/src/tests/qemu/Makefile @@ -169,7 +169,7 @@ qemu: $(KERNEL_BZIMAGE) -nographic \ -smp $(NR_CPUS) \ $(QEMU_MACHINE) \ - -m 192M \ + -m $$(grep -q CONFIG_DEBUG_KMEMLEAK=y $(KERNEL_PATH)/.config && echo 1G || echo 192M) \ -serial stdio \ -serial file:$(BUILD_PATH)/result \ -no-reboot \ |