source: rtems/c/src/lib/libbsp/arm/gp32/Makefile.am @ 4bc22a6d

4.104.114.84.95
Last change on this file since 4bc22a6d was 4bc22a6d, checked in by Philippe Simons <loki_666@…>, on 07/07/05 at 22:07:11

2005-07-07 Philippe Simons <loki_666@…>

  • Makefile.am: Remove lcd.rel, added console/uart.c, removed conio stuffs.
  • console/conio.c, console/console.c, console/defaultfont.c, include/conio.h : files removed.
  • console/uart.c: New file.
  • include/bsp.h: lcd.c prototypes removed.
  • startup/bspstart.c: bsp_reset() cause gp32 to reset to bios, added a bsp_idle_task which put s3c2400 in a "wait for IRQ" state.
  • Property mode set to 100644
File size: 3.1 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_PROGRAMS += startup.rel
30startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
31    startup/bspstart.c startup/exit.c startup/memmap.c \
32    ../../shared/bootcard.c ../../shared/main.c ../../shared/sbrk.c \
33    ../../shared/gnatinstallhandler.c
34startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
35startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
36
37noinst_PROGRAMS += console.rel
38console_rel_SOURCES = console/uart.c ../../shared/console.c
39console_rel_CPPFLAGS = $(AM_CPPFLAGS)
40console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42noinst_LIBRARIES = libbsp.a
43libbsp_a_SOURCES =
44libbsp_a_LIBADD = startup.rel console.rel
45libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
46    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
47    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
48    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
49
50all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
51
52PREINSTALL_DIRS =
53PREINSTALL_FILES =
54TMPINSTALL_FILES =
55
56$(PROJECT_INCLUDE)/$(dirstamp):
57        @$(mkdir_p) $(PROJECT_INCLUDE)
58        @: > $(PROJECT_INCLUDE)/$(dirstamp)
59PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
60
61$(PROJECT_LIB)/$(dirstamp):
62        @$(mkdir_p) $(PROJECT_LIB)
63        @: > $(PROJECT_LIB)/$(dirstamp)
64PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
65
66$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
68PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
69
70$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
73
74$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
75        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
76PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
77
78$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
79        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
80PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
81
82$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
85
86$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
87        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
88TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
89
90$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
91        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
92PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
93
94CLEANFILES = $(PREINSTALL_FILES)
95DISTCLEANFILES += $(PREINSTALL_DIRS)
96CLEANFILES += $(TMPINSTALL_FILES)
97
98include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.