genlink: use a "generated" prefix on files made

This makes it easier to gitignore them, and clean them
This commit is contained in:
Karl Palsson
2016-04-16 23:26:41 +00:00
parent 374796c1fd
commit e2dbcd7653
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ ifeq ($(DEVICE),)
$(warning no DEVICE specified for linker script generator)
endif
LDSCRIPT = $(DEVICE).ld
LDSCRIPT = generated.$(DEVICE).ld
DEVICES_DATA = $(OPENCM3_DIR)/ld/devices.data
genlink_family :=$(shell awk -v PAT="$(DEVICE)" -v MODE="FAMILY" -f $(OPENCM3_DIR)/scripts/genlink.awk $(DEVICES_DATA) 2>/dev/null)