source: rtems/c/src/lib/libbsp/i386/pc386/Makefile.am @ 3d703f4

Last change on this file since 3d703f4 was 3d703f4, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 26, 2018 at 5:29:28 AM

bsp/pc386: Remove bin2boot support

Update #3408.
Close #3410.

  • Property mode set to 100644
File size: 6.7 KB
Line 
1##
2##
3
4ACLOCAL_AMFLAGS = -I ../../../../aclocal
5
6# FIXME: We must not include *.cfg
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8
9CLEANFILES =
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = ../../../../../../bsps/i386/pc386/start/bsp_specs
15
16
17noinst_PROGRAMS =
18
19start.$(OBJEXT): ../../../../../../bsps/i386/pc386/start/start.S
20        $(CPPASCOMPILE) -o $@ -c $<
21project_lib_DATA = start.$(OBJEXT)
22
23project_lib_DATA += linkcmds
24
25project_lib_LIBRARIES = librtemsbsp.a
26librtemsbsp_a_SOURCES =
27
28# clock
29librtemsbsp_a_SOURCES +=../../../../../../bsps/i386/pc386/clock/ckinit.c
30librtemsbsp_a_SOURCES +=../../../../../../bsps/i386/pc386/clock/todcfg.c
31librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
32
33if RTEMS_VGA
34librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/inch.c
35librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/outch.c
36librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/defkeymap.c
37librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/keyboard.c
38librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/pc_keyb.c
39librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/ps2_mouse.c
40librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/vgainit.c
41librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/vt.c
42librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/videoAsm.S
43librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/kbd_parser.c
44librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/vgacons.c
45if USE_VGA
46librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/fb_vga.c
47endif
48if USE_CIRRUS_GD5446
49librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/fb_cirrus.c
50endif
51if USE_VBE_RM
52librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/fb_vesa_rm.c
53endif
54endif
55
56# console (non-graphics support)
57librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/serial_mouse_config.c
58librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/uart.c
59librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/tty_drv.c
60librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/realmode_int.c
61librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
62librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/console_select.c
63librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/console_control.c
64librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/conscfg.c
65librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/printk_support.c
66librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/exar17d15x.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/rtd316.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/uart_bus_pci.c
69librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/gdb_select.c
70
71# gdb
72librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/i386-stub.c
73librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/i386-stub-glue.c
74librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/console/gdb_glue.c
75
76# gnat
77
78# pci
79librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/pci/pcibios.c
80librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/pci/pci_io.c
81librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/pci/pci_bus_count.c
82librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/pci/pci_find_device.c
83
84# startup
85librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bsp_fatal_halt.c
86librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspgetworkarea.c
87librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspidle.S
88librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspstart.c
89librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspcmdline.c
90librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
91librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/bspreset.c
92librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/idt.c
93librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/irq.c
94librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/irq_init.c
95librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/elcr.c
96librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/getentropy/getentropy-cpucounter.c
97librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/sbrk.c
98librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/ldsegs.S
99librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/irq/irq_asm.S
100librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
101
102# timer
103librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/btimer/btimer.c
104librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/btimer/timerisr.S
105
106if HAS_IDE
107# ide
108librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/ata/ide.c
109librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/ata/idecfg.c
110endif
111
112if HAS_SMP
113librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/getcpuid.c
114librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/smp-imps.c
115
116project_lib_DATA += appstart.$(OBJEXT)
117appcpustart.$(OBJEXT): ../../../../../../bsps/i386/pc386/start/start16.S
118        $(CPPASCOMPILE) $(AM_CPPFLAGS) -DSMP_SECONDARY_CORE -o $@ -c $<
119
120appstart.$(OBJEXT): appcpustart.$(OBJEXT)
121        $(LD) -r -N -T $(top_srcdir)/../../../../../../bsps/i386/pc386/start/linkcmds \
122            -Ttext 0x70000 -e app_processor_start -nostdlib \
123            -o appstart_tmp.exe $<
124        $(OBJCOPY) -O binary appstart_tmp.exe appstart.bin
125        $(OBJCOPY) -I binary -O elf32-i386 -B i386 appstart.bin $@
126endif
127
128if HAS_NETWORKING
129librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/net/3c509.c
130librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/net/elink.c
131librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/net/ne2000.c
132librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/net/wd8003.c
133endif
134
135librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/shared/cache/cache.c
136librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/cpuModel.S
137librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/displayCpu.c
138librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/idtr.S
139librtemsbsp_a_SOURCES += ../../../../../../bsps/i386/pc386/start/page.c
140
141if HAS_SMP
142librtemsbsp_a_LIBADD = appstart.$(OBJEXT)
143endif
144
145
146include $(top_srcdir)/../../../../automake/local.am
147include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
148include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
149include $(top_srcdir)/../../../../automake/subdirs.am
150include $(srcdir)/../../../../../../bsps/i386/pc386/headers.am
Note: See TracBrowser for help on using the repository browser.