diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-28 17:47:03 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-28 17:47:03 -0600 |
commit | fdc526e875090915228594c122de65a1e54cb5c9 (patch) | |
tree | 2503852af3e9fa8a4444d28c3e467af16c2e1202 /nuttx/configs/z16f2800100zcog | |
parent | 886829ab35b22355347a553cc86aca88e6598fa4 (diff) | |
download | px4-nuttx-fdc526e875090915228594c122de65a1e54cb5c9.tar.gz px4-nuttx-fdc526e875090915228594c122de65a1e54cb5c9.tar.bz2 px4-nuttx-fdc526e875090915228594c122de65a1e54cb5c9.zip |
Changes for ZDS-II ez80 build
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r-- | nuttx/configs/z16f2800100zcog/ostest/Make.defs | 8 | ||||
-rw-r--r-- | nuttx/configs/z16f2800100zcog/pashello/Make.defs | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs index eb706f5cd..4664eb4e6 100644 --- a/nuttx/configs/z16f2800100zcog/ostest/Make.defs +++ b/nuttx/configs/z16f2800100zcog/ostest/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # configs/z16f2800100zcog/ostest/Make.defs # -# Copyright (C) 2008, 2010, 2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2008, 2010, 2012-2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -173,6 +173,12 @@ define ASSEMBLE $(Q) "$(AS)" $(AFLAGS) ${shell echo $1 | sed -e "s/\//\\/g"} endef +define MOVEOBJ + $(call MOVEFILE, "$1.obj", "$2$(DELIM)$1.obj") + $(call MOVEFILE, "$1.lst", "$2$(DELIM)$1.lst") + $(call MOVEFILE, "$1.src", "$2$(DELIM)$1.src") +endef + define ARCHIVE @echo AR: $2 $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) diff --git a/nuttx/configs/z16f2800100zcog/pashello/Make.defs b/nuttx/configs/z16f2800100zcog/pashello/Make.defs index 311aa6578..f4ac2f126 100644 --- a/nuttx/configs/z16f2800100zcog/pashello/Make.defs +++ b/nuttx/configs/z16f2800100zcog/pashello/Make.defs @@ -1,7 +1,7 @@ ############################################################################ # configs/z16f2800100zcog/pashello/Make.defs # -# Copyright (C) 2008, 2010, 2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2008, 2010, 2012-2013 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without @@ -173,6 +173,12 @@ define ASSEMBLE $(Q) "$(AS)" $(AFLAGS) ${shell echo $1 | sed -e "s/\//\\/g"} endef +define MOVEOBJ + $(call MOVEFILE, "$1.obj", "$2$(DELIM)$1.obj") + $(call MOVEFILE, "$1.lst", "$2$(DELIM)$1.lst") + $(call MOVEFILE, "$1.src", "$2$(DELIM)$1.src") +endef + define ARCHIVE @echo AR: $2 $(Q) for %%G in ($(2)) do ( "$(AR)" $(ARFLAGS) $1=-+%%G ) |