From 1685b420658b262e4ffffec8dfdb9e45c88edb03 Mon Sep 17 00:00:00 2001 From: Chris Kay Date: Mon, 15 Jan 2024 19:40:55 +0000 Subject: [PATCH] build: remove the `NM` variable No part of the build system uses the `NM` variable, which is usually used to dump symbol tables from compiled images. This change removes all declarations of it. Change-Id: I796ff365e6a7f97d21678f1c8cf8b59bfbb1ae9c Signed-off-by: Chris Kay --- Makefile | 1 - plat/rockchip/rk3399/drivers/m0/Makefile | 1 - 2 files changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 326766022..792ad1cf8 100644 --- a/Makefile +++ b/Makefile @@ -106,7 +106,6 @@ AR := ${CROSS_COMPILE}gcc-ar LINKER := ${CROSS_COMPILE}ld OC := ${CROSS_COMPILE}objcopy OD := ${CROSS_COMPILE}objdump -NM := ${CROSS_COMPILE}nm DTC := dtc # Use ${LD}.bfd instead if it exists (as absolute path or together with $PATH). diff --git a/plat/rockchip/rk3399/drivers/m0/Makefile b/plat/rockchip/rk3399/drivers/m0/Makefile index 8783269da..71548ba81 100644 --- a/plat/rockchip/rk3399/drivers/m0/Makefile +++ b/plat/rockchip/rk3399/drivers/m0/Makefile @@ -44,7 +44,6 @@ CPP := ${M0_CROSS_COMPILE}gcc -E AR := ${M0_CROSS_COMPILE}gcc-ar OC := ${M0_CROSS_COMPILE}objcopy OD := ${M0_CROSS_COMPILE}objdump -NM := ${M0_CROSS_COMPILE}nm # NOTE: The line continuation '\' is required in the next define otherwise we # end up with a line-feed characer at the end of the last c filename.