Changeset bb507e9 in rtems


Ignore:
Timestamp:
Nov 20, 2001, 6:58:22 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0197134
Parents:
708a87c5
Message:

2001-11-15 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Add @exceptions@ to SUBDIRS.
  • configure.ac: Add RTEMS_BSPOPTS_*(), merge-in settings from make/custom/mbx*.cfg, add RTEMS_PPC_EXCEPTIONS([new]).
  • include/Makefile.am: Convert PREINSTALL_FILES to TMPINSTALL_FILES, include force-preinstall.am.
  • vectors/Makefile.am: remove bogus VPATH.
  • wrapup/Makefile.am: Apply @exceptions@.
Location:
c/src/lib/libbsp/powerpc/mbx8xx
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mbx8xx/ChangeLog

    r708a87c5 rbb507e9  
     12001-11-15      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Add @exceptions@ to SUBDIRS.
     4        * configure.ac: Add RTEMS_BSPOPTS_*(), merge-in settings
     5        from make/custom/mbx*.cfg, add RTEMS_PPC_EXCEPTIONS([new]).
     6        * include/Makefile.am: Convert PREINSTALL_FILES to
     7        TMPINSTALL_FILES, include force-preinstall.am.
     8        * vectors/Makefile.am: remove bogus VPATH.
     9        * wrapup/Makefile.am: Apply @exceptions@.
     10
    1112001-10-29      Joel Sherrill <joel@OARcorp.com>
    212
  • c/src/lib/libbsp/powerpc/mbx8xx/Makefile.am

    r708a87c5 rbb507e9  
    88# wrapup is the one that actually builds and installs the library
    99#  from the individual .rel files built in other directories
    10 SUBDIRS = clock console include irq network startup vectors wrapup
     10SUBDIRS = include clock console irq network startup vectors \
     11    @exceptions@ wrapup
    1112
    1213include $(top_srcdir)/../../bsp.am
  • c/src/lib/libbsp/powerpc/mbx8xx/configure.ac

    r708a87c5 rbb507e9  
    2424RTEMS_CANONICAL_HOST
    2525
     26RTEMS_PROJECT_ROOT
    2627
    27 RTEMS_PROJECT_ROOT
     28RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[mbx860_005b],[0])
     29RTEMS_BSPOPTS_SET([PPC_USE_DATA_CACHE],[*],[1])
     30RTEMS_BSPOPTS_HELP([PPC_USE_DATA_CACHE],
     31[If defined, then the PowerPC specific code in RTEMS will use
     32 data cache instructions to optimize the context switch code.
     33 This code can conflict with debuggers or emulators.])
     34
     35RTEMS_BSPOPTS_SET([NVRAM_CONFIGURE],[mbx860_005b],[0])
     36RTEMS_BSPOPTS_SET([NVRAM_CONFIGURE],[*],[1])
     37RTEMS_BSPOPTS_HELP([NVRAM_CONFIGURE],
     38[Define to 1 if you want the console driver, network driver and caches
     39 configured at boot time from parameters stored in NVRAM. If set to 1,
     40 most parameters below are ignored during the build. If not set to 1,
     41 then the console driver is configured at build time, the network host
     42 information is obtained from application supplied data structures, and
     43 the caches are configured at boot time based on the information
     44 supplied
     45 in this file.])
     46
     47RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[mbx860_005b],[1])
     48RTEMS_BSPOPTS_SET([UARTS_USE_TERMIOS],[*],[0])
     49RTEMS_BSPOPTS_HELP([UARTS_USE_TERMIOS],
     50[Define to 1 if you want termios support for every port.
     51 Termios support is independent of the choice of UART I/O mode.])
     52
     53RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[mbx860_005b],[SMC1_MINOR])
     54RTEMS_BSPOPTS_SET([CONSOLE_MINOR],[*],[SMC2_MINOR])
     55RTEMS_BSPOPTS_HELP([CONSOLE_MINOR],
     56[(BSP--console driver) Must be defined to be one of SMC1_MINOR,
     57 SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR.
     58 Determines which device will be registered as /dev/console.])
     59
     60
     61RTEMS_BSPOPTS_SET([UARTS_IO_MODE],[*],[0])
     62RTEMS_BSPOPTS_HELP([UARTS_IO_MODE],
     63[(BSP--console driver)
     64 Define to 0 or 1 if you want polled I/O performed by RTEMS.
     65 Define to 1 if you want interrupt-driven performed by RTEMS.
     66 Define to 2 if you want polled I/O performed by EPPCBug.
     67 There is no provision to have a mix of interrupt-driven and polled I/O
     68 ports, except that the printk port may use a different mode from the
     69 other ports. If this is done, do not open the printk port from an RTEMS
     70 application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR
     71 must be set to SMC1_MINOR. This is a deficiency of the firmware: it
     72 does not perform serial I/O on any port other than its default debug
     73 port, which must be SMC1.])
     74
     75
     76RTEMS_BSPOPTS_SET([PRINTK_MINOR],[mbx860_005b],[SMC1_MINOR])
     77RTEMS_BSPOPTS_SET([PRINTK_MINOR],[*],[SMC2_MINOR])
     78RTEMS_BSPOPTS_HELP([PRINTK_MINOR],
     79[(BSP--console driver)
     80 Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR,
     81 SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output
     82 by printk(). If the port that printk() uses is also used for other
     83 I/O (e.g. if  PRINTK_MINOR == \$CONSOLE_MINOR), then both ports should
     84 use the same type of I/O, otherwise the drivers will likely conflict with
     85 each other.])
     86
     87RTEMS_BSPOPTS_SET([PRINTK_IO_MODE],[*],[0])
     88RTEMS_BSPOPTS_HELP([PRINTK_IO_MODE],
     89[(BSP--console driver)
     90 Define to 0 or 1 if you want polled I/O performed by RTEMS.
     91 Define to 2 if you want polled I/O performed by EPPCBug.
     92 The printk() port is not configured to use termios. With EPPCBug 1.1,
     93 if mode 2 is selected, PRINTK_MINOR must be set to SMC1_MINOR.
     94 This is a deficiency of the firmware: it does not perform serial I/O
     95 on any port other than its default debug port, which must be SMC1.
     96 Printk always uses polled output.])
     97
     98
     99RTEMS_BSPOPTS_SET([EPPCBUG_SMC1],[mbx860_005b],[])
     100RTEMS_BSPOPTS_SET([EPPCBUG_SMC1],[*],[1])
     101RTEMS_BSPOPTS_HELP([EPPCBUG_SMC1],
     102[(BSP--console driver)
     103 If defined, SMC1 is in use by EPPC-Bug. The console driver will not
     104 re-initialize that port.])
     105
     106RTEMS_BSPOPTS_SET([EPPCBUG_VECTORS],[mbx860_005b],[])
     107RTEMS_BSPOPTS_SET([EPPCBUG_VECTORS],[*],[1])
     108RTEMS_BSPOPTS_HELP([EPPCBUG_VECTORS],
     109[(BSP--RTEMS)
     110 If defined, vectors branch to EPPCBug, except the following:
     111 0x500 (external interrupt), 0x900 (decrementer).])
     112
    28113AM_CONFIG_HEADER(include/bspopts.h)
    29114AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
     
    39124vectors/Makefile
    40125wrapup/Makefile])
     126
     127RTEMS_PPC_EXCEPTIONS([new])
     128
    41129AC_OUTPUT
  • c/src/lib/libbsp/powerpc/mbx8xx/include/Makefile.am

    r708a87c5 rbb507e9  
    2222        $(INSTALL_DATA) $< $@
    2323
    24 PREINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp \
     24TMPINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp \
    2525        $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) \
    2626        $(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)
    2727
    28 all-local: $(PREINSTALL_FILES)
     28all-local: $(TMPINSTALL_FILES)
    2929
     30include $(top_srcdir)/../../../../../../automake/force-preinstall.am
    3031include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/mbx8xx/vectors/Makefile.am

    r708a87c5 rbb507e9  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    6 
    7 VPATH = @srcdir@:
    86
    97C_FILES = vectors_init.c
  • c/src/lib/libbsp/powerpc/mbx8xx/wrapup/Makefile.am

    r708a87c5 rbb507e9  
    1818OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
    1919    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \
    20     $(wildcard ../../../../libcpu/powerpc/new_exception_processing/$(ARCH)/*.rel) \
     20    ../@exceptions@/$(ARCH)/rtems-cpu.rel \
    2121    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc8xx/*/$(ARCH)/*.o)
    2222LIB = $(ARCH)/libbsp.a
Note: See TracChangeset for help on using the changeset viewer.