From 317e8dc9391469cf940b3c0d6a791fabfd9aa222 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 21 Mar 2015 13:38:26 -0600 Subject: [PATCH] Micropendous 3: Rename files for better conformance to naming conventions --- configs/micropendous3/src/Makefile | 36 +++++++++---------- .../src/{up_boot.c => at90usb_boot.c} | 2 +- .../src/micropendous3_internal.h | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) rename configs/micropendous3/src/{up_boot.c => at90usb_boot.c} (98%) diff --git a/configs/micropendous3/src/Makefile b/configs/micropendous3/src/Makefile index 85c1a9314e..3fa16210d4 100644 --- a/configs/micropendous3/src/Makefile +++ b/configs/micropendous3/src/Makefile @@ -35,37 +35,37 @@ -include $(TOPDIR)/Make.defs -ASRCS = -CSRCS = up_boot.c +ASRCS = +CSRCS = at90usb_boot.c ifeq ($(CONFIG_ARCH_LEDS),y) -CSRCS += up_leds.c +CSRCS += up_leds.c endif -AOBJS = $(ASRCS:.S=$(OBJEXT)) -COBJS = $(CSRCS:.c=$(OBJEXT)) +AOBJS = $(ASRCS:.S=$(OBJEXT)) +COBJS = $(CSRCS:.c=$(OBJEXT)) -SRCS = $(ASRCS) $(CSRCS) -OBJS = $(AOBJS) $(COBJS) +SRCS = $(ASRCS) $(CSRCS) +OBJS = $(AOBJS) $(COBJS) -ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src +ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src ifeq ($(CONFIG_ARCH_FAMILY_AVR32),y) -ARCH_SUBDIR = avr32 +ARCH_SUBDIR = avr32 endif ifeq ($(CONFIG_ARCH_FAMILY_AVR),y) -ARCH_SUBDIR = avr +ARCH_SUBDIR = avr endif ifeq ($(WINTOOL),y) - CFLAGS += -I "${shell cygpath -w $(TOPDIR)/sched}" - CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" - CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" - CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/$(ARCH_SUBDIR)}" + CFLAGS += -I "${shell cygpath -w $(TOPDIR)/sched}" + CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" + CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" + CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/$(ARCH_SUBDIR)}" else - CFLAGS += -I "$(TOPDIR)/sched" - CFLAGS += -I "$(ARCH_SRCDIR)/chip" - CFLAGS += -I "$(ARCH_SRCDIR)/common" - CFLAGS += -I "$(ARCH_SRCDIR)/$(ARCH_SUBDIR)" + CFLAGS += -I "$(TOPDIR)/sched" + CFLAGS += -I "$(ARCH_SRCDIR)/chip" + CFLAGS += -I "$(ARCH_SRCDIR)/common" + CFLAGS += -I "$(ARCH_SRCDIR)/$(ARCH_SUBDIR)" endif all: libboard$(LIBEXT) diff --git a/configs/micropendous3/src/up_boot.c b/configs/micropendous3/src/at90usb_boot.c similarity index 98% rename from configs/micropendous3/src/up_boot.c rename to configs/micropendous3/src/at90usb_boot.c index 9a9e80f32d..6c862e0879 100644 --- a/configs/micropendous3/src/up_boot.c +++ b/configs/micropendous3/src/at90usb_boot.c @@ -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. * Author: Gregory Nutt diff --git a/configs/micropendous3/src/micropendous3_internal.h b/configs/micropendous3/src/micropendous3_internal.h index df22a265fd..0ad222bad8 100644 --- a/configs/micropendous3/src/micropendous3_internal.h +++ b/configs/micropendous3/src/micropendous3_internal.h @@ -43,7 +43,7 @@ #include /**************************************************************************** - * Pre-Processor Definitions + * Pre-processor Definitions ****************************************************************************/ /* Configuration ************************************************************/