source: rtems-source-builder/source-builder/config/lwip-1.cfg @ f07d2b6

Last change on this file since f07d2b6 was 3a3069e, checked in by ragunath <ragunath3252@…>, on Aug 9, 2015 at 9:43:43 AM

lwIP configuration & build files

Patch to build lwip with RTEMS Resource builder. It builds the lwip sources and creates a library.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2# LWIP MASTER  Version 1. commit -- c2ebf5544b4268eac9b32c7f3a689ff646d96eef
3#
4# This configuration file configure's, make's and install's LWIP.
5#
6
7%if %{release} == %{nil}
8%define release 1
9%endif
10
11Name:      lwip-%{lwip_version}-%{_host}-%{release}
12Summary:   Light weight TCP/IP stack
13Version:   %{lwip_version}
14Release:   %{release}
15URL:       http://git.savannah.gnu.org/cgit/lwip.git
16BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
17
18#
19# LWIP Source
20#
21%source set lwip git://git.sv.gnu.org/lwip.git?fetch?reset=hard?branch=master?checkout=c2ebf5544b4268eac9b32c7f3a689ff646d96eef
22#
23# Prepare the source code.
24#
25%prep
26  build_top=$(pwd)
27
28  source_dir_lwip="%{lwip_version}"
29  %source setup lwip -q -n %{lwip_version}
30  %patch setup lwip -p1
31
32  cd ${build_top}
33
34%build
35  build_top=$(pwd)
36
37  %{build_directory}
38
39  mkdir -p ${build_dir}
40  cd ${build_dir}
41
42  %{host_build_flags}
43
44  cd ${build_top}/%{lwip_version}
45  export RTEMS_MAKEFILE_PATH=%{_exec_prefix}
46  %{__make} all
47
48#  cd ${build_top}
49
50#%install
51  build_top=$(pwd)/%{lwip_version}
52
53  %{__make} install
Note: See TracBrowser for help on using the repository browser.