mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Micropendous 3: Rename files for better conformance to naming conventions
This commit is contained in:
@@ -35,37 +35,37 @@
|
|||||||
|
|
||||||
-include $(TOPDIR)/Make.defs
|
-include $(TOPDIR)/Make.defs
|
||||||
|
|
||||||
ASRCS =
|
ASRCS =
|
||||||
CSRCS = up_boot.c
|
CSRCS = at90usb_boot.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_LEDS),y)
|
ifeq ($(CONFIG_ARCH_LEDS),y)
|
||||||
CSRCS += up_leds.c
|
CSRCS += up_leds.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||||
COBJS = $(CSRCS:.c=$(OBJEXT))
|
COBJS = $(CSRCS:.c=$(OBJEXT))
|
||||||
|
|
||||||
SRCS = $(ASRCS) $(CSRCS)
|
SRCS = $(ASRCS) $(CSRCS)
|
||||||
OBJS = $(AOBJS) $(COBJS)
|
OBJS = $(AOBJS) $(COBJS)
|
||||||
|
|
||||||
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
|
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
|
||||||
ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
|
ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y)
|
||||||
ARCH_SUBDIR = avr32
|
ARCH_SUBDIR = avr32
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_FAMILY_AVR),y)
|
ifeq ($(CONFIG_ARCH_FAMILY_AVR),y)
|
||||||
ARCH_SUBDIR = avr
|
ARCH_SUBDIR = avr
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WINTOOL),y)
|
ifeq ($(WINTOOL),y)
|
||||||
CFLAGS += -I "${shell cygpath -w $(TOPDIR)/sched}"
|
CFLAGS += -I "${shell cygpath -w $(TOPDIR)/sched}"
|
||||||
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}"
|
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}"
|
||||||
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/common}"
|
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/common}"
|
||||||
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/$(ARCH_SUBDIR)}"
|
CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/$(ARCH_SUBDIR)}"
|
||||||
else
|
else
|
||||||
CFLAGS += -I "$(TOPDIR)/sched"
|
CFLAGS += -I "$(TOPDIR)/sched"
|
||||||
CFLAGS += -I "$(ARCH_SRCDIR)/chip"
|
CFLAGS += -I "$(ARCH_SRCDIR)/chip"
|
||||||
CFLAGS += -I "$(ARCH_SRCDIR)/common"
|
CFLAGS += -I "$(ARCH_SRCDIR)/common"
|
||||||
CFLAGS += -I "$(ARCH_SRCDIR)/$(ARCH_SUBDIR)"
|
CFLAGS += -I "$(ARCH_SRCDIR)/$(ARCH_SUBDIR)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: libboard$(LIBEXT)
|
all: libboard$(LIBEXT)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* configs/micropendous3/src/up_boot.c
|
* configs/micropendous3/src/at90usb_boot.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-Processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/* Configuration ************************************************************/
|
/* Configuration ************************************************************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user