5
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 | |
---|
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 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.