mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-17 05:10:54 +00:00
Fix hardcoded reference to nm(1)
This commit is contained in:
parent
9f6689e538
commit
6690c5f13e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user