From 6690c5f13e0d733d87e42e437db89331f23efe1f Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 11 Jul 2012 00:02:59 +0100 Subject: [PATCH] Fix hardcoded reference to nm(1) --- Makefile.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.include b/Makefile.include index 1acfa4ebb..d257eeabb 100644 --- a/Makefile.include +++ b/Makefile.include @@ -228,10 +228,10 @@ ifndef CUSTOM_RULE_LINK endif %.ramprof: %.$(TARGET) - nm -S -td --size-sort $< | grep -i " [abdrw] " | cut -d' ' -f2,4 + $(NM) -S -td --size-sort $< | grep -i " [abdrw] " | cut -d' ' -f2,4 %.flashprof: %.$(TARGET) - nm -S -td --size-sort $< | grep -i " [t] " | cut -d' ' -f2,4 + $(NM) -S -td --size-sort $< | grep -i " [t] " | cut -d' ' -f2,4 # Don't treat %.$(TARGET) as an intermediate file because it is # in fact the primary target.