-
-
Save kergoth/ae0f426b8b6f426b6b4f7a70a024b5b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: rename APPEND to something more appropriate | |
APPEND ?= "${APPEND_SERIAL} console=tty0 ${APPEND_SPLASH}" | |
#APPEND += "${APPEND_KGDBOC}" | |
APPEND_SPLASH = "${@'quiet splash' if '${SPLASH}' else ''}" | |
APPEND_SPLASH .= "${@' plymouth:ignore-serial-consoles' if '${SPLASH}' == 'plymouth' else ''}" | |
APPEND_SERIAL = "${@'console=${CMD_SERIAL_CONSOLE}' if '${SERIAL_CONSOLE}' else ''}" | |
CMD_SERIAL_CONSOLE ?= "${@','.join(reversed('${SERIAL_CONSOLE}'.split()))}" | |
APPEND_KGDBOC = "kgdbwait kgdboc=${CMD_SERIAL_CONSOLE}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment