Skip to content

Commit

Permalink
Add lede.ack=1 to kernel commandline when running ACK kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 committed Apr 8, 2024
1 parent d458444 commit 7142387
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,12 @@ ifeq ($(KASLR),0)
QEMU_KERNEL_CMDLINE += nokaslr
endif

# This is not an actual kernel parameter, but it allows us to check from within
# QEMU if this is an ACK kernel or not.
ifeq ($(ACK),1)
QEMU_KERNEL_CMDLINE += lede.ack=1
endif

QEMU_ARGS += -append "$(QEMU_KERNEL_CMDLINE) $(QEMU_EXTRA_KERNEL_CMDLINE)"

RUN_DEPS := $(QEMU_KERNEL_IMAGE)
Expand Down

0 comments on commit 7142387

Please sign in to comment.