source: rtems/c/src/lib/libbsp/i386/pc386/startup/Makefile.in @ b285860

4.104.114.84.95
Last change on this file since b285860 was b285860, checked in by Joel Sherrill <joel.sherrill@…>, on 08/31/98 at 23:03:45

Patch from Eric Valette <valette@…>:

Eric> NB : there is still a bug on PC386 serial line : exit does not
Eric> flush the remaining output queue. As this is not a bug in the
Eric> driver itself but somewhere in PC386 initialization/termios
Eric> relationship it will be part of another patch.

Eric> NB2 : As Emmanuel excerced the exception hanlder code, while
Eric> porting the SMC driver to the new BSD stack, we found a bug
Eric> in the exception handler : it shall not delete the current
Eric> thread in case we are running at interrupt level. This will
Eric> be part of another patch...

So here is the patch. This patch fixes the two problems mentionned above

+ it use vpath mechanism intead of copying the irq related files in

the right directory. This avoid to compile them each time and is
more homogenous with other Makefiles.

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[7150f00f]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[b285860]7VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../../shared/irq
[5c3511e]8RTEMS_ROOT = @top_srcdir@
[674c900]9PROJECT_ROOT = @PROJECT_ROOT@
[7150f00f]10
11PGM=${ARCH}/startup.rel
12
13# C source names, if any, go here -- minus the .c
[b285860]14C_PIECES=bsplibc bsppost bspstart exit irq irq_init main sbrk
[7150f00f]15C_FILES=$(C_PIECES:%=%.c)
16C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
17
18H_FILES=
19
20# Assembly source names, if any, go here -- minus the .s
[67a2288]21S_PIECES=ldsegs irq_asm
[7150f00f]22S_FILES=$(S_PIECES:%=%.s)
23S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
24
25SRCS=$(srcdir)/linkcmds $(C_FILES) $(H_FILES) $(S_FILES)
26OBJS=$(C_O_FILES) $(S_O_FILES)
27
[5c3511e]28include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
[cb5bfe4]29include $(RTEMS_ROOT)/make/leaf.cfg
[7150f00f]30
31#
32# (OPTIONAL) Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS +=
37CFLAGS   +=
38
39LD_PATHS  +=
40LD_LIBS   +=
41LDFLAGS   +=
42
43#
44# Add your list of files to delete here.  The config files
45#  already know how to delete some stuff, so you may want
46#  to just run 'make clean' first to see what gets missed.
47#  'make clobber' already includes 'make clean'
48#
49
50CLEAN_ADDITIONS +=
51CLOBBER_ADDITIONS +=
52
53${PGM}: ${SRCS} ${OBJS}
54        $(make-rel)
[b285860]55all:    ${ARCH} $(SRCS) $(PGM)
[7150f00f]56        $(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
57
58# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
59
Note: See TracBrowser for help on using the repository browser.