From b2953be704014f74c05587993c2a3d5b24bc0bc1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 21 May 2012 13:34:09 +0000 Subject: [PATCH] Fix NxWM bug: old window being minimized when new window open git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4757 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/src/Makefile b/arch/arm/src/Makefile index 9f019862a59..ef041537568 100644 --- a/arch/arm/src/Makefile +++ b/arch/arm/src/Makefile @@ -121,14 +121,18 @@ endif sort > $(TOPDIR)/System.map # This is part of the top-level export target +# Note that there may not be a head object if layout is handled +# by the linker configuration. export_head: board/libboard$(LIBEXT) $(HEAD_OBJ) +ifneq ($(HEAD_OBJ),) @if [ -d "$(EXPORT_DIR)/startup" ]; then \ cp -f $(HEAD_OBJ) "$(EXPORT_DIR)/startup"; \ else \ echo "$(EXPORT_DIR)/startup does not exist"; \ exit 1; \ fi +endif # Dependencies