[v2,2/4] buildscript: patch source before generating feeds

Submitted by Tim Niemeyer on July 8, 2017, 11 a.m.

Details

Message ID 1499511609-30508-2-git-send-email-tim@tn-x.org
State Accepted
Headers show

Commit Message

Tim Niemeyer July 8, 2017, 11 a.m.
.. otherwise the applied patches are not used while generating the
openwrt config.

Signed-off-by: Tim Niemeyer <tim@tn-x.org>
---

Changes in v2: None

 buildscript | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/buildscript b/buildscript
index afa77f8..c6af21e 100755
--- a/buildscript
+++ b/buildscript
@@ -135,6 +135,8 @@  prepare() {
     /bin/rm -rf "$target"
     cp -a src/openwrt "$target"
 
+    patch_target
+
     ## generate own feeds.conf
     #this local variable should be globally configure variable used in get_source and here
     local PACKAGEBASE=${PWD}/src/packages
@@ -166,8 +168,6 @@  prepare() {
         fi
     done
 
-    patch_target
-
     #saves ~200MB for each build
     test -d ./src/dl || mkdir ./src/dl
     ln -s ../../src/dl "$target"/dl