[rtems commit] bsp/lm3s69xx: Format
Sebastian Huber
sebh at rtems.org
Sat Mar 24 21:50:50 UTC 2012
Module: rtems
Branch: master
Commit: b2ee4d5fef433285fb9c2d623f693456d5b9b713
Changeset: http://git.rtems.org/rtems/commit/?id=b2ee4d5fef433285fb9c2d623f693456d5b9b713
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sat Mar 24 21:04:40 2012 +0100
bsp/lm3s69xx: Format
---
c/src/lib/libbsp/arm/lm3s69xx/Makefile.am | 86 ++++++++++++--------------
c/src/lib/libbsp/arm/lm3s69xx/preinstall.am | 24 ++++----
2 files changed, 52 insertions(+), 58 deletions(-)
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am b/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
index 6267c55..db833f1 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/lm3s69xx/Makefile.am
@@ -1,30 +1,39 @@
-##
-#
-# @file
-#
-# @brief Makefile of LibBSP for the LM3S69XX boards.
-#
-
-# $Id$
-
ACLOCAL_AMFLAGS = -I ../../../../aclocal
include $(top_srcdir)/../../../../automake/compile.am
include_bspdir = $(includedir)/bsp
+###############################################################################
+# Data #
+###############################################################################
+
dist_project_lib_DATA = bsp_specs
+noinst_LIBRARIES = libbspstart.a
+
+libbspstart_a_SOURCES = ../shared/start/start.S
+
+project_lib_DATA =
+project_lib_DATA += start.$(OBJEXT)
+project_lib_DATA += startup/linkcmds
+
+EXTRA_DIST = startup/linkcmds.lm3s6965
+
###############################################################################
# Header #
###############################################################################
-include_HEADERS = include/bsp.h
+include_HEADERS =
+include_HEADERS += ../../shared/include/tm27.h
+include_HEADERS += include/bsp.h
-nodist_include_HEADERS = ../../shared/include/coverhd.h \
- include/bspopts.h
+nodist_include_HEADERS =
+nodist_include_HEADERS += ../../shared/include/coverhd.h
+nodist_include_HEADERS += include/bspopts.h
-nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
+nodist_include_bsp_HEADERS =
+nodist_include_bsp_HEADERS += ../../shared/include/bootcard.h
include_bsp_HEADERS =
include_bsp_HEADERS += ../../shared/include/utility.h
@@ -37,21 +46,6 @@ include_bsp_HEADERS += include/irq.h
include_bsp_HEADERS += include/uart.h
include_bsp_HEADERS += include/lm3s69xx.h
-include_HEADERS += ../../shared/include/tm27.h
-
-###############################################################################
-# Data #
-###############################################################################
-
-noinst_LIBRARIES = libbspstart.a
-
-libbspstart_a_SOURCES = ../shared/start/start.S
-
-project_lib_DATA = start.$(OBJEXT)
-
-project_lib_DATA += startup/linkcmds
-EXTRA_DIST = startup/linkcmds.lm3s6965
-
###############################################################################
# LibBSP #
###############################################################################
@@ -63,16 +57,16 @@ libbsp_a_CPPFLAGS =
libbsp_a_LIBADD =
# Shared
-libbsp_a_SOURCES += ../../shared/bootcard.c \
- ../../shared/bspclean.c \
- ../../shared/bspgetworkarea.c \
- ../../shared/bsplibc.c \
- ../../shared/bsppost.c \
- ../../shared/bsppredriverhook.c \
- ../../shared/bsppretaskinghook.c \
- ../../shared/gnatinstallhandler.c \
- ../../shared/sbrk.c \
- ../../shared/src/stackalloc.c
+libbsp_a_SOURCES += ../../shared/bootcard.c
+libbsp_a_SOURCES += ../../shared/bspclean.c
+libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
+libbsp_a_SOURCES += ../../shared/bsplibc.c
+libbsp_a_SOURCES += ../../shared/bsppost.c
+libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
+libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
+libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
+libbsp_a_SOURCES += ../../shared/sbrk.c
+libbsp_a_SOURCES += ../../shared/src/stackalloc.c
# Startup
libbsp_a_SOURCES += ../shared/startup/bsp-start-copy-sections.c
@@ -82,12 +76,12 @@ libbsp_a_SOURCES += startup/bspstarthook.c
libbsp_a_SOURCES += startup/bspreset.c
# IRQ
-libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
- ../../shared/src/irq-legacy.c \
- ../../shared/src/irq-info.c \
- ../../shared/src/irq-shell.c \
- ../../shared/src/irq-server.c \
- irq/irq.c
+libbsp_a_SOURCES += ../../shared/src/irq-generic.c
+libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
+libbsp_a_SOURCES += ../../shared/src/irq-info.c
+libbsp_a_SOURCES += ../../shared/src/irq-shell.c
+libbsp_a_SOURCES += ../../shared/src/irq-server.c
+libbsp_a_SOURCES += irq/irq.c
# Console
libbsp_a_SOURCES += ../../shared/console.c
@@ -106,8 +100,8 @@ libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
libbsp_a_SOURCES += ../../shared/timerstub.c
# Cache
-libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c \
- ../../../libcpu/arm/shared/cache/cache_.h
+libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
+libbsp_a_SOURCES += ../../../libcpu/arm/shared/cache/cache_.h
libbsp_a_CPPFLAGS += -I$(srcdir)/../../../libcpu/arm/shared/include
###############################################################################
diff --git a/c/src/lib/libbsp/arm/lm3s69xx/preinstall.am b/c/src/lib/libbsp/arm/lm3s69xx/preinstall.am
index a5b4f38..9cb64b1 100644
--- a/c/src/lib/libbsp/arm/lm3s69xx/preinstall.am
+++ b/c/src/lib/libbsp/arm/lm3s69xx/preinstall.am
@@ -37,6 +37,18 @@ $(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
+$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
+TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
+
+$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
+TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
+
+$(PROJECT_INCLUDE)/tm27.h: ../../shared/include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
+ $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
+PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
+
$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
@@ -89,15 +101,3 @@ $(PROJECT_INCLUDE)/bsp/lm3s69xx.h: include/lm3s69xx.h $(PROJECT_INCLUDE)/bsp/$(d
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/lm3s69xx.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/lm3s69xx.h
-$(PROJECT_INCLUDE)/tm27.h: ../../shared/include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
-
-$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
-TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
-
-$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
-TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
-
More information about the vc
mailing list