From 263bba08cb03659c1e1d54b43ae8c9c18d67b77a Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Tue, 21 Mar 2017 00:26:05 +0100
Subject: 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.
---
 scripts/make-module-ipkgs.sh | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'scripts')

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
 
-- 
cgit v1.2.3