Let the created ld script depend on devices.data
If devices.data changes, rebuild the linker scripts, so they have all the new information in it.
This commit is contained in:
parent
fdaac94ba1
commit
0b3adfb9b3
@ -17,6 +17,6 @@
|
||||
## along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
$(LDSCRIPT):$(OPENCM3_DIR)/ld/linker.ld.S
|
||||
$(LDSCRIPT): $(OPENCM3_DIR)/ld/linker.ld.S $(OPENCM3_DIR)/ld/devices.data
|
||||
@printf " GENLNK $(DEVICE)\n"
|
||||
$(Q)$(CPP) $(ARCH_FLAGS) $(shell gawk -v PAT="$(DEVICE)" -v MODE="DEFS" -f $(OPENCM3_DIR)/scripts/genlink.awk $(OPENCM3_DIR)/ld/devices.data 2>/dev/null) -P -E $< > $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user