diff options
-rw-r--r-- | packages/ti/sdo/ipc/makefile.xdt | 2 | ||||
-rw-r--r-- | packages/ti/sdo/utils/makefile.xdt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/ti/sdo/ipc/makefile.xdt b/packages/ti/sdo/ipc/makefile.xdt index 6805932..bfdd73f 100644 --- a/packages/ti/sdo/ipc/makefile.xdt +++ b/packages/ti/sdo/ipc/makefile.xdt @@ -189,6 +189,7 @@ clean: %for (var i = 0; i < OBJS.length; i++) { @-$(call RM, `OBJS[i]`) %} +%if (Build.$private.libDir != null) { # create output directories ifneq ($(MAKECMDGOALS),clean) @@ -196,3 +197,4 @@ ifeq ($(wildcard `Build.$private.libDir`),) $(shell $(MKDIR) `Build.$private.libDir`) endif endif +%} diff --git a/packages/ti/sdo/utils/makefile.xdt b/packages/ti/sdo/utils/makefile.xdt index 904b328..c6618bc 100644 --- a/packages/ti/sdo/utils/makefile.xdt +++ b/packages/ti/sdo/utils/makefile.xdt @@ -1,6 +1,6 @@ %%{ /* - * Copyright (c) 2013, Texas Instruments Incorporated + * Copyright (c) 2013-2014 Texas Instruments Incorporated - http://www.ti.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -189,6 +189,7 @@ clean: %for (var i = 0; i < OBJS.length; i++) { @-$(call RM, `OBJS[i]`) %} +%if (Build.$private.libDir != null) { # create output directories ifneq ($(MAKECMDGOALS),clean) @@ -196,3 +197,4 @@ ifeq ($(wildcard `Build.$private.libDir`),) $(shell $(MKDIR) `Build.$private.libDir`) endif endif +%} |