Skip to content

Commit 80f2962

Browse files
committed
Fix goals for NRF51_DK makefile:
Now "all" depend on the project merged with the soft device, the goal merged has been renamed into the file it generate and now depend on the realization of $(PROJECT).hex
1 parent 0320f3b commit 80f2962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/export/gcc_arm_nrf51_dk.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{% extends "gcc_arm_common.tmpl" %}
22

33
{% block target_all %}
4-
all: $(PROJECT).bin $(PROJECT).hex size merge
4+
all: $(PROJECT).bin $(PROJECT)-combined.hex size
55
{% endblock %}
66

77
{% block additional_variables %}
@@ -13,6 +13,6 @@ SREC_CAT = srec_cat
1313
{% endblock %}
1414

1515
{% block additional_targets %}
16-
merge:
16+
$(PROJECT)-combined.hex: $(PROJECT).hex
1717
$(SREC_CAT) $(SOFTDEVICE) -intel $(PROJECT).hex -intel -o $(PROJECT)-combined.hex -intel --line-length=44
1818
{% endblock %}

0 commit comments

Comments
 (0)