Luis Farias | 9d66fca | 2020-05-28 19:01:58 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | ############################################################################### |
| 3 | # |
| 4 | # Copyright (c) 2019 Intel. |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | ############################################################################### |
| 19 | # |
| 20 | # File: build.sh |
| 21 | # Build script to comapile kernel module, library and test application. |
| 22 | # |
| 23 | |
| 24 | #if [ "$1" = "dpdk_wls" ]; then |
| 25 | echo "Building dpdk based wls library" |
| 26 | make DPDK_WLS=1 ${*:2} |
| 27 | cd testapp |
| 28 | make DPDK_WLS=1 ${*:2} |
| 29 | #else |
| 30 | # echo "Building driver based wls library" |
| 31 | # make -C /lib/modules/`uname -r`/build M=$PWD $* |
| 32 | # make libwls.so $* |
| 33 | # cd testapp |
| 34 | # make $* |
| 35 | #fi |