mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 03:51:35 +08:00
Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4346 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
############################################################################
|
||||
# arch/8051/src/Makefile
|
||||
#
|
||||
# Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
# Copyright (C) 2007, 2008, 2011-2012 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@@ -107,6 +107,8 @@ STACK_BASE = ${shell \
|
||||
|
||||
all: up_head$(OBJEXT) libarch$(LIBEXT)
|
||||
|
||||
.PHONY: board/libboard$(LIBEXT)
|
||||
|
||||
$(ASRCS) $(LINKASRCS): %$(ASMEXT): %.S
|
||||
$(CPP) -P $(CPPFLAGS) $< -o $@
|
||||
|
||||
@@ -189,7 +191,7 @@ nuttx$(EXEEXT): pass1.ihx nuttx.ihx
|
||||
|
||||
# This is part of the top-level export target
|
||||
|
||||
export_head: uboard/libboard$(LIBEXT) p_head$(OBJEXT)
|
||||
export_head: board/libboard$(LIBEXT) p_head$(OBJEXT)
|
||||
@if [ -d "$(EXPORT_DIR)/startup" ]; then \
|
||||
cp -f up_head$(OBJEXT) "$(EXPORT_DIR)/startup"; \
|
||||
else \
|
||||
|
||||
Reference in New Issue
Block a user