diff options
Diffstat (limited to 'tools/root.make')
-rw-r--r-- | tools/root.make | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/root.make b/tools/root.make index 9e8513ba48..dcdbba23c1 100644 --- a/tools/root.make +++ b/tools/root.make | |||
@@ -201,7 +201,11 @@ ifndef APP_TYPE | |||
201 | 201 | ||
202 | ## target build | 202 | ## target build |
203 | CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h | 203 | CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h |
204 | ifeq ($(wildcard $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/app.lds),) | ||
205 | RAMLDS := $(FIRMDIR)/target/$(CPU)/app.lds | ||
206 | else | ||
204 | RAMLDS := $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/app.lds | 207 | RAMLDS := $(FIRMDIR)/target/$(CPU)/$(MANUFACTURER)/app.lds |
208 | endif | ||
205 | LINKRAM := $(BUILDDIR)/ram.link | 209 | LINKRAM := $(BUILDDIR)/ram.link |
206 | ROMLDS := $(FIRMDIR)/rom.lds | 210 | ROMLDS := $(FIRMDIR)/rom.lds |
207 | LINKROM := $(BUILDDIR)/rom.link | 211 | LINKROM := $(BUILDDIR)/rom.link |