summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-21 00:26:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-21 06:57:41 +0100
commit263bba08cb03659c1e1d54b43ae8c9c18d67b77a (patch)
treeedef79b77b387edb95024c2f1de5c89c7e850e6f /scripts
parent0bb7e3f588f5727390259df1644edf19f15f608f (diff)
rework kernel build process, changes to kernelconfig are reflected now
Cleanup the package directory which is always used as intermediate step to build in the default some xz compressed archives with all package data. While reconfiguring the kernel mini.config or custom config changes to the firmware did not happen always. Some targets where redundant and the install step tries to compile, too. Be more quiet with any cpio usage.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/make-module-ipkgs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/make-module-ipkgs.sh b/scripts/make-module-ipkgs.sh
index e50340c0a..04eaffaa5 100644
--- a/scripts/make-module-ipkgs.sh
+++ b/scripts/make-module-ipkgs.sh
@@ -65,6 +65,9 @@ done
#done
#echo
+# start with empty directory, avoid leftovers after version change
+rm -rf ${BUILD_DIR}/linux-modules
+
for modname in ${!modpaths[@]}; do
find_modlevel $modname