Skip to content

Commit 7142387

Browse files
committed
Add lede.ack=1 to kernel commandline when running ACK kernels
1 parent d458444 commit 7142387

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,12 @@ ifeq ($(KASLR),0)
420420
QEMU_KERNEL_CMDLINE += nokaslr
421421
endif
422422

423+
# This is not an actual kernel parameter, but it allows us to check from within
424+
# QEMU if this is an ACK kernel or not.
425+
ifeq ($(ACK),1)
426+
QEMU_KERNEL_CMDLINE += lede.ack=1
427+
endif
428+
423429
QEMU_ARGS += -append "$(QEMU_KERNEL_CMDLINE) $(QEMU_EXTRA_KERNEL_CMDLINE)"
424430

425431
RUN_DEPS := $(QEMU_KERNEL_IMAGE)

0 commit comments

Comments
 (0)