summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/i386ex/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/i386/i386ex/Makefile.am')
-rw-r--r--c/src/lib/libbsp/i386/i386ex/Makefile.am19
1 files changed, 11 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/i386/i386ex/Makefile.am b/c/src/lib/libbsp/i386/i386ex/Makefile.am
index 79be6b1955..6281fca0cb 100644
--- a/c/src/lib/libbsp/i386/i386ex/Makefile.am
+++ b/c/src/lib/libbsp/i386/i386ex/Makefile.am
@@ -34,9 +34,11 @@ project_lib_DATA = start.$(OBJEXT)
dist_project_lib_DATA += startup/linkcmds
noinst_LIBRARIES = libbsp.a
+libbsp_a_SOURCES =
include_HEADERS += ../../i386/shared/comm/uart.h
-startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
+# startup
+libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
../../shared/bspgetworkarea.c ../../shared/bsppost.c startup/bspstart.c \
../../shared/bootcard.c ../../shared/sbrk.c ../../i386/shared/irq/idt.c \
@@ -45,12 +47,16 @@ startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
../../i386/shared/comm/i386-stub-glue.c ../../i386/shared/comm/uart.c \
../../shared/gnatinstallhandler.c ../../i386/shared/comm/gdb_glue.c \
../../i386/shared/comm/tty_drv.c ../../i386/shared/irq/irq_asm.S
-clock_SOURCES = clock/ckinit.c
-console_SOURCES = console/console.c
+# clock
+libbsp_a_SOURCES += clock/ckinit.c
+# console
+libbsp_a_SOURCES += console/console.c
include_HEADERS += ../../i386/shared/pci/pcibios.h
-pci_SOURCES = ../../i386/shared/pci/pcibios.c \
+# pci
+libbsp_a_SOURCES += ../../i386/shared/pci/pcibios.c \
../../i386/shared/pci/pcibios.h
-timer_SOURCES = timer/timer.c timer/timerisr.S
+# timer
+libbsp_a_SOURCES += timer/timer.c timer/timerisr.S
if HAS_NETWORKING
network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D_KERNEL
@@ -61,9 +67,6 @@ network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
endif
-libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
- $(pci_SOURCES) $(timer_SOURCES)
-
libbsp_a_LIBADD = \
../../../libcpu/@RTEMS_CPU@/cache.rel \
../../../libcpu/@RTEMS_CPU@/score.rel