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

Last change on this file was 831ae05, checked in by Chris Johns <chrisj@…>, on Jul 14, 2019 at 5:11:46 AM

rtems/bsp: Build packages for the beagle BSP.

Closes #3769

  • Property mode set to 100644
File size: 982 bytes
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
16
17#
18# LWIP Source
19#
20%source set lwip http://git.savannah.gnu.org/cgit/lwip.git/snapshot/lwip-%{lwip_version}.tar.gz
21
22#
23# Prepare the source code.
24#
25%prep
26  build_top=$(pwd)
27
28  source_dir_lwip="lwip-%{lwip_version}"
29  %source setup lwip -q -n lwip-%{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  %{rtems_makefile_inc}
44
45  cd ${build_top}/lwip-%{lwip_version}
46  %{__make} all
47
48#  cd ${build_top}
49
50#%install
51  build_top=$(pwd)/lwip-%{lwip_version}
52
53  %{__make} install
Note: See TracBrowser for help on using the repository browser.