source: rtems/c/src/lib/libbsp/arm/raspberrypi/configure.ac @ 64f7724

4.115
Last change on this file since 64f7724 was 71260b4, checked in by Alan Cudmore <alan.cudmore@…>, on 03/15/15 at 16:04:06

preliminary Raspberry Pi Model 2 support

This patch adds a BSP variant for the Raspberry Pi 2. You can
build both variants by configuring with the option

--enable-rtemsbsp="raspberrypi2 raspberrypi"

For the current BSP, the only change was the peripheral register base
address and the compiler options.

The raspberrypi/make/custom rules were re-factored:

raspberrypi.inc -- Common rules
raspberrypi.cfg -- Raspberry Pi 1 specific rule/optons
raspberrypi2.cfg -- Raspberry Pi 2 specific rule/options

I tested hello, ticker, unlimited, and paranoia on both the Pi (Model A+)
and Pi 2.

  • Property mode set to 100644
File size: 1000 bytes
Line 
1##
2#
3# @file
4#
5# @brief Configure script of LibBSP for the Raspberry Pi boards.
6#
7
8AC_PREREQ([2.68])
9AC_INIT([rtems-c-src-lib-libbsp-arm-raspberrypi],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
10AC_CONFIG_SRCDIR([bsp_specs])
11RTEMS_TOP(../../../../../..)
12
13RTEMS_CANONICAL_TARGET_CPU
14AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2])
15RTEMS_BSP_CONFIGURE
16
17RTEMS_PROG_CC_FOR_TARGET
18RTEMS_CANONICALIZE_TOOLS
19RTEMS_PROG_CCAS
20
21RTEMS_CHECK_NETWORKING
22AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
23
24RTEMS_BSPOPTS_SET([BSP_START_RESET_VECTOR],[*],[])
25RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
26
27# Is this a Raspberry Pi 2?
28RTEMS_BSPOPTS_SET([BSP_IS_RPI2],[raspberrypi2],[1])
29RTEMS_BSPOPTS_SET([BSP_IS_RPI2],[*],[0])
30RTEMS_BSPOPTS_HELP([BSP_IS_RPI2],[Set if the BSP variant is Raspberry Pi 2.])
31AM_CONDITIONAL(RTEMS_RPI2,[test "$BSP_IS_RPI2" = "1"])
32
33
34
35RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
36RTEMS_BSP_LINKCMDS
37
38AC_CONFIG_FILES([Makefile])
39AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.