Fix hardcoded reference to nm(1)
This commit is contained in:
parent
9f6689e538
commit
6690c5f13e
|
@ -228,10 +228,10 @@ ifndef CUSTOM_RULE_LINK
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.ramprof: %.$(TARGET)
|
%.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)
|
%.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
|
# Don't treat %.$(TARGET) as an intermediate file because it is
|
||||||
# in fact the primary target.
|
# in fact the primary target.
|
||||||
|
|
Loading…
Reference in a new issue