Submodule patches now called from Makefile (e.g. make patch)
This commit is contained in:
4
Makefile
4
Makefile
@@ -38,3 +38,7 @@ clean:
|
|||||||
clean_win:
|
clean_win:
|
||||||
-"rd /S /Q bin"
|
-"rd /S /Q bin"
|
||||||
-"rd /S /Q build"
|
-"rd /S /Q build"
|
||||||
|
|
||||||
|
patch:
|
||||||
|
git -C ext/lwip apply ../lwip.patch
|
||||||
|
git -C ext/lwip-contrib apply ../lwip-contrib.patch
|
||||||
@@ -65,7 +65,7 @@ We recommend using [CMake](https://cmake.org/) for its extensive cross-platform
|
|||||||
```
|
```
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
./ext/patch_submodules.sh
|
make patch
|
||||||
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=DEBUG
|
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=DEBUG
|
||||||
cmake --build build
|
cmake --build build
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Execute from project root directory
|
|
||||||
|
|
||||||
cd ext/lwip
|
|
||||||
cp ../lwip.patch .
|
|
||||||
git apply lwip.patch
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
cd ext/lwip-contrib
|
|
||||||
cp ../lwip-contrib.patch .
|
|
||||||
git apply lwip-contrib.patch
|
|
||||||
|
|
||||||
cd ../..
|
|
||||||
Reference in New Issue
Block a user