summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/Makefile.sdccw
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/z80/src/Makefile.sdccw')
-rw-r--r--nuttx/arch/z80/src/Makefile.sdccw7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/arch/z80/src/Makefile.sdccw b/nuttx/arch/z80/src/Makefile.sdccw
index 79e1b002e..ee7948c67 100644
--- a/nuttx/arch/z80/src/Makefile.sdccw
+++ b/nuttx/arch/z80/src/Makefile.sdccw
@@ -1,7 +1,7 @@
############################################################################
# arch/z80/src/Makefile.sdccw
#
-# Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2011-2012, 2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -43,6 +43,7 @@ CPPFLAGS += -D__ASSEMBLY__
# There should be one head source (.asm file)
HEAD_OBJ = $(HEAD_ASRC:$(ASMEXT)=$(OBJEXT))
+STARTUP_OBJS ?= $(HEAD_OBJ)
# Assembly sources and objects
@@ -179,9 +180,9 @@ endif
# This is part of the top-level export target
-export_head: board\libboard$(LIBEXT) $(HEAD_OBJ)
+export_startup: board\libboard$(LIBEXT) $(STARTUP_OBJS)
$(Q) if not exist board\Makefile ( echo $(EXPORT_DIR)\startup does not exist )
- $(Q) if exist board\Makefile ( cp -f $(HEAD_OBJ) "$(EXPORT_DIR)\startup" )
+ $(Q) if exist board\Makefile ( cp -f $(STARTUP_OBJS) "$(EXPORT_DIR)\startup" )
# Build dependencies