From 80f7724816d1b1f07719185fa7fa5f04b9ecb952 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 11 Jul 2011 22:52:51 +0000 Subject: Add an 'export' target to the NuttX top-level Makefile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3771 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/8051/src/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nuttx/arch/8051/src') 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 -- cgit v1.2.3