mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
############################################################################
|
||||
# configs/sim/src/Makefile
|
||||
#
|
||||
# Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
|
||||
# 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
|
||||
@@ -62,9 +62,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
|
||||
libboard$(LIBEXT): $(OBJS)
|
||||
@$(AR) $@ # Create an empty archive
|
||||
ifneq ($(OBJS),)
|
||||
@( for obj in $(OBJS) ; do \
|
||||
$(call ARCHIVE, $@, $${obj}); \
|
||||
done ; )
|
||||
$(call ARCHIVE, $@, "$(OBJS)")
|
||||
endif
|
||||
|
||||
.depend: Makefile $(SRCS)
|
||||
|
||||
Reference in New Issue
Block a user