lint
This commit is contained in:
parent
2799122f8e
commit
b7deea6edb
1 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ _flavors=
|
|||
for _i in $source; do
|
||||
case $_i in
|
||||
config-*.$CARCH)
|
||||
_f=${_i%.$CARCH}
|
||||
f=${_i%."$CARCH"}
|
||||
_f=${_f#config-changes-}
|
||||
_flavors="$_flavors $_f"
|
||||
[ "linux-$_f" != "$pkgname" ] && subpackages="$subpackages linux-$_f::$CBUILD_ARCH"
|
||||
|
@ -61,7 +61,7 @@ _genconfig() {
|
|||
cp "$builddir"/arch/$_carch/configs/$defconfig \
|
||||
"$subbuilddir"/.config
|
||||
|
||||
while read line; do
|
||||
while read -r line; do
|
||||
# skip comments
|
||||
case "$line" in
|
||||
"#"*) continue;;
|
||||
|
@ -87,7 +87,7 @@ _genconfig() {
|
|||
_verifyconfig() {
|
||||
local flavor=$1
|
||||
local subbuilddir="$srcdir"/build-$flavor
|
||||
while read line; do
|
||||
while read -r line; do
|
||||
[ ${line:0:1} = "#" ] && continue
|
||||
local option=${line%%=*} str= invert=
|
||||
local cmd=$(echo $line | cut -d= -f2)
|
||||
|
@ -240,7 +240,7 @@ _dev() {
|
|||
-print | cpio -pdm "$dir"
|
||||
|
||||
cp -a scripts include "$dir"
|
||||
find $(find arch -name include -type d -print) -type f \
|
||||
find "$(find arch -name include -type d -print)" -type f \
|
||||
| cpio -pdm "$dir"
|
||||
|
||||
install -Dm644 "$_builddir"/Module.symvers \
|
||||
|
|
Loading…
Add table
Reference in a new issue