source: rtems-addon-packages/RTEMS_Makefiles/Makefile.ncurses-5.3 @ ebe13d6

Last change on this file since ebe13d6 was ebe13d6, checked in by Joel Sherrill <joel.sherrill@…>, on May 27, 2015 at 9:31:20 PM

RTEMS_Makefiles/*: If the build works do a distclean

The bit script did this by default if there wasn't a package
specific Makefile.

  • Property mode set to 100644
File size: 958 bytes
Line 
1#
2# Declare supported terminal types.
3# This value can be augmented/overridden by the site-configuration file
4#
5TERMINALS=xterm,vt100,linux,ansi
6
7include ../RTEMS_Makefiles/Makefile.common
8
9#
10# The following will work only if you have the latest ncurses version
11# of infocmp installed before trying to build for an RTEMS target.
12# The cf_cv_type_of_bool hack works around a bug when configuring
13# for a cross-target.
14        #cf_cv_type_of_bool=char CXX="$(CC)" ./configure \
15#
16all:
17        CXX="$(CC)" TERM=xterm ./configure \
18                --host=$(RTEMS_CPU)-rtems \
19                --prefix=$(exec_prefix) \
20                --libdir=$(exec_prefix)/$(RTEMS_BSP)/lib \
21                --includedir=$(exec_prefix)/$(RTEMS_BSP)/lib/include \
22                --without-ada \
23                --without-progs \
24                --without-cxx-binding \
25                --with-bool="unsigned char" \
26                --disable-sigwinch \
27                --disable-database \
28                --with-fallbacks="$(TERMINALS)"
29        make "TERM=xterm" "HOSTCC=gcc" "HOSTCCFLAGS=-I. -I../include" HOSTLDFLAGS=""
30        make install
31        make distclean
Note: See TracBrowser for help on using the repository browser.