diff --git a/configs/mx1ads/src/Makefile b/configs/mx1ads/src/Makefile index 9bf2889eff..facf1cf9fc 100644 --- a/configs/mx1ads/src/Makefile +++ b/configs/mx1ads/src/Makefile @@ -35,18 +35,18 @@ -include $(TOPDIR)/Make.defs -CFLAGS += -I$(TOPDIR)/sched +CFLAGS += -I$(TOPDIR)/sched -ASRCS = -AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = up_boot.c up_leds.c up_network.c -COBJS = $(CSRCS:.c=$(OBJEXT)) +ASRCS = +AOBJS = $(ASRCS:.S=$(OBJEXT)) +CSRCS = up_boot.c up_leds.c up_network.c +COBJS = $(CSRCS:.c=$(OBJEXT)) -SRCS = $(ASRCS) $(CSRCS) -OBJS = $(AOBJS) $(COBJS) +SRCS = $(ASRCS) $(CSRCS) +OBJS = $(AOBJS) $(COBJS) -ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src -CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm +ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src +CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm all: libboard$(LIBEXT) diff --git a/configs/mx1ads/src/up_boot.c b/configs/mx1ads/src/mx1_boot.c similarity index 96% rename from configs/mx1ads/src/up_boot.c rename to configs/mx1ads/src/mx1_boot.c index 82991c1fe2..ef88442490 100644 --- a/configs/mx1ads/src/up_boot.c +++ b/configs/mx1ads/src/mx1_boot.c @@ -1,6 +1,5 @@ /************************************************************************************ - * configs/mx1ads/src/up_boot.c - * arch/arm/src/board/up_boot.c + * configs/mx1ads/src/mx1_boot.c * * Copyright (C) 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -49,7 +48,7 @@ #include "imx_gpio.h" /************************************************************************************ - * Definitions + * Pre-processor Definitions ************************************************************************************/ /************************************************************************************ @@ -65,7 +64,7 @@ * * Description: * All i.MX architectures must provide the following entry point. This entry point - * is called early in the intitialization -- after all memory has been configured + * is called early in the initialization -- after all memory has been configured * and mapped but before any devices have been initialized. ************************************************************************************/ diff --git a/configs/mx1ads/src/up_leds.c b/configs/mx1ads/src/mx1_leds.c similarity index 99% rename from configs/mx1ads/src/up_leds.c rename to configs/mx1ads/src/mx1_leds.c index cba71f1d94..9678cb748d 100644 --- a/configs/mx1ads/src/up_leds.c +++ b/configs/mx1ads/src/mx1_leds.c @@ -1,5 +1,5 @@ /**************************************************************************** - * configs/mx1ads/src/up_leds.c + * configs/mx1ads/src/mx1_leds.c * * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt diff --git a/configs/mx1ads/src/up_network.c b/configs/mx1ads/src/mx1_network.c similarity index 97% rename from configs/mx1ads/src/up_network.c rename to configs/mx1ads/src/mx1_network.c index 20fc766e3b..a4c76e9c55 100644 --- a/configs/mx1ads/src/up_network.c +++ b/configs/mx1ads/src/mx1_network.c @@ -1,6 +1,5 @@ /**************************************************************************** - * configs/mx1ads/src/up_network.c - * arch/arm/src/board/up_network.c + * configs/mx1ads/src/mx1_network.c * * Copyright (C) 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -50,7 +49,7 @@ extern void cs8900_initialize(void); /**************************************************************************** - * Definitions + * Pre-processor Definitions ****************************************************************************/ /****************************************************************************