Skip to content

Commit 61847ae

Browse files
committed
[make] Fix .map file location
1 parent e880737 commit 61847ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/build_script_generator/make/module.lb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def prepare(module, options):
3333
def build(env):
3434
def flag_format(flag):
3535
subs = {
36-
"target_base": "$(MAKE_PROJECT_NAME)",
36+
"target_base": "$(BUILDPATH)/$(MODM_PROJECT_NAME)",
3737
"project_source_dir": "$(CURDIR)",
3838
"gccpath": "$(GCC_BASE)",
3939
}

tools/build_script_generator/make/resources/config.mk.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ELF_FILE := $(BUILDPATH)/$(MODM_PROJECT_NAME).{{program_extension}}
1515
BIN_FILE := $(BUILDPATH)/$(MODM_PROJECT_NAME).bin
1616
HEX_FILE := $(BUILDPATH)/$(MODM_PROJECT_NAME).hex
1717
LSS_FILE := $(BUILDPATH)/$(MODM_PROJECT_NAME).lss
18+
MAP_FILE := $(BUILDPATH)/$(MODM_PROJECT_NAME).map
1819
CLEAN_FILES += $(BUILDPATH)
1920

2021
# Device configuration

0 commit comments

Comments
 (0)