summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: ae13735)
raw | patch | inline | side by side (from parent 1: ae13735)
author | Sam Nelson <sam.nelson@ti.com> | |
Fri, 27 May 2016 18:07:30 +0000 (14:07 -0400) | ||
committer | Angela Stegmaier <angelabaker@ti.com> | |
Fri, 27 May 2016 18:13:39 +0000 (13:13 -0500) |
Without this, build will fail, when building for A15 targets alone
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
packages/ti/sdo/ipc/makefile_gccArmLto.xdt | patch | blob | history | |
packages/ti/sdo/utils/makefile_gccArmLto.xdt | patch | blob | history |
diff --git a/packages/ti/sdo/ipc/makefile_gccArmLto.xdt b/packages/ti/sdo/ipc/makefile_gccArmLto.xdt
index 4ea8ee52af17b23bca139a79b18251c151907fce..d37e5233649e87f524097cd40897dc025633f7fe 100644 (file)
%%{
/*
- * Copyright (c) 2012-2015 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (c) 2012-2016 Texas Instruments Incorporated - http://www.ti.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
%}
DEL = cmd.exe /q /c del /f
CP = cmd.exe /q /c copy /Y
+MKDIR = mkdir
%}
%else {
DEL = rm -f
CP = cp -f
+MKDIR = mkdir -p
%}
define RM
%for (var i = 0; i < OBJS.length; i++) {
@-$(call RM, `OBJS[i]`)
%}
+%if (Build.$private.libDir != null) {
+
+# create output directories
+ifneq ($(MAKECMDGOALS),clean)
+ifeq ($(wildcard `Build.$private.libDir`),)
+ $(shell $(MKDIR) `Build.$private.libDir`)
+endif
+endif
+%}
diff --git a/packages/ti/sdo/utils/makefile_gccArmLto.xdt b/packages/ti/sdo/utils/makefile_gccArmLto.xdt
index 9f03148c30c228591005a6703e4877a3a4d2a3fb..daa3cd03025af9f8720b5210b55b947f1366c41e 100644 (file)
%%{
/*
- * Copyright (c) 2013, Texas Instruments Incorporated
+ * Copyright (c) 2013-2016, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
%}
DEL = cmd.exe /q /c del /f
CP = cmd.exe /q /c copy /Y
+MKDIR = mkdir
%}
%else {
DEL = rm -f
CP = cp -f
+MKDIR = mkdir -p
%}
define RM
%for (var i = 0; i < OBJS.length; i++) {
@-$(call RM, `OBJS[i]`)
%}
+%if (Build.$private.libDir != null) {
+
+# create output directories
+ifneq ($(MAKECMDGOALS),clean)
+ifeq ($(wildcard `Build.$private.libDir`),)
+ $(shell $(MKDIR) `Build.$private.libDir`)
+endif
+endif
+%}