diff options
Diffstat (limited to 'nuttx/arch/8051/src')
-rw-r--r-- | nuttx/arch/8051/src/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/arch/8051/src/Makefile b/nuttx/arch/8051/src/Makefile index 6f1907bc4..f04518913 100644 --- a/nuttx/arch/8051/src/Makefile +++ b/nuttx/arch/8051/src/Makefile @@ -187,6 +187,16 @@ nuttx$(EXEEXT): pass1.ihx nuttx.ihx @packihx nuttx.ihx > $(TOPDIR)/nuttx$(EXEEXT) @cp -f nuttx.map $(TOPDIR)/. +# This is part of the top-level export target + +export_head: uboard/libboard$(LIBEXT) p_head$(OBJEXT) + @if [ -d "$(EXPORT_DIR)/startup" ]; then \ + cp -f up_head$(OBJEXT) "$(EXPORT_DIR)/startup"; \ + else \ + echo "$(EXPORT_DIR)/startup does not exist"; \ + exit 1; \ + fi + # This target builds a test program to verify interrupt context switching. irqtest is # a PHONY target that just sets upt the up_irqtest build correctly |