5
Rev | Line | |
---|
[3a3069e] | 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 | |
---|
| 11 | Name: lwip-%{lwip_version}-%{_host}-%{release} |
---|
| 12 | Summary: Light weight TCP/IP stack |
---|
| 13 | Version: %{lwip_version} |
---|
| 14 | Release: %{release} |
---|
| 15 | URL: http://git.savannah.gnu.org/cgit/lwip.git |
---|
| 16 | |
---|
| 17 | # |
---|
| 18 | # LWIP Source |
---|
| 19 | # |
---|
| 20 | %source set lwip git://git.sv.gnu.org/lwip.git?fetch?reset=hard?branch=master?checkout=c2ebf5544b4268eac9b32c7f3a689ff646d96eef |
---|
| 21 | # |
---|
| 22 | # Prepare the source code. |
---|
| 23 | # |
---|
| 24 | %prep |
---|
| 25 | build_top=$(pwd) |
---|
| 26 | |
---|
| 27 | source_dir_lwip="%{lwip_version}" |
---|
| 28 | %source setup lwip -q -n %{lwip_version} |
---|
| 29 | %patch setup lwip -p1 |
---|
| 30 | |
---|
| 31 | cd ${build_top} |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | build_top=$(pwd) |
---|
| 35 | |
---|
| 36 | %{build_directory} |
---|
| 37 | |
---|
| 38 | mkdir -p ${build_dir} |
---|
| 39 | cd ${build_dir} |
---|
| 40 | |
---|
| 41 | %{host_build_flags} |
---|
| 42 | |
---|
| 43 | cd ${build_top}/%{lwip_version} |
---|
| 44 | export RTEMS_MAKEFILE_PATH=%{_exec_prefix} |
---|
| 45 | %{__make} all |
---|
| 46 | |
---|
| 47 | # cd ${build_top} |
---|
| 48 | |
---|
| 49 | #%install |
---|
| 50 | build_top=$(pwd)/%{lwip_version} |
---|
| 51 | |
---|
| 52 | %{__make} install |
---|
Note: See
TracBrowser
for help on using the repository browser.