fix: 🐛 Invoke nm properly

This commit is contained in:
Berkus Decker 2022-05-03 10:13:55 +03:00
parent 2d5ea676cd
commit 67db178c6f
3 changed files with 7 additions and 1 deletions

View File

@ -23,6 +23,9 @@ run_task = "zellij-config"
env = { "KERNEL_BIN" = "${CHAINBOOT_BIN}", "QEMU_OPTS" = "${QEMU_OPTS} ${QEMU_DISASM_OPTS} ${QEMU_GDB_OPTS}", "TARGET_BOARD" = "rpi3", "TARGET_DTB" = "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/targets/bcm2710-rpi-3-b-plus.dtb" } env = { "KERNEL_BIN" = "${CHAINBOOT_BIN}", "QEMU_OPTS" = "${QEMU_OPTS} ${QEMU_DISASM_OPTS} ${QEMU_GDB_OPTS}", "TARGET_BOARD" = "rpi3", "TARGET_DTB" = "${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/targets/bcm2710-rpi-3-b-plus.dtb" }
run_task = "zellij-config" run_task = "zellij-config"
[tasks.nm]
disabled = true
[tasks.qemu] [tasks.qemu]
disabled = true disabled = true

View File

@ -28,6 +28,9 @@ disabled = true
[tasks.zellij-cb-gdb] [tasks.zellij-cb-gdb]
disabled = true disabled = true
[tasks.nm]
disabled = true
[tasks.qemu] [tasks.qemu]
disabled = true disabled = true

View File

@ -61,7 +61,7 @@ install_crate = { crate_name = "rustfilt", binary = "rustfilt", test_arg = ["--h
[tasks.nm] [tasks.nm]
dependencies = ["build", "kernel-binary", "install-nm", "install-rustfilt"] dependencies = ["build", "kernel-binary", "install-nm", "install-rustfilt"]
script = [ script = [
"${NM} -- ${KERNEL_ELF} | sort -k 1 | rustfilt" "${NM} ${KERNEL_ELF} | sort -k 1 | rustfilt"
] ]
[tasks.sdcard] [tasks.sdcard]