Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
1b2ec569
Commit
1b2ec569
authored
Jan 09, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build_buildroot: prevent -j for make-3.82 and later
parent
b807a613
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
wrs_build_buildroot
build/scripts/wrs_build_buildroot
+8
-1
No files found.
build/scripts/wrs_build_buildroot
View file @
1b2ec569
...
...
@@ -38,7 +38,14 @@ fi
cp
$CFG
.config
sed
-i
/^BR2_JLEVEL/d .config
echo
"BR2_JLEVEL=
$WRS_MAKE_J_NUMBER
"
>>
.config
# make 3.82 splits the work differently, and compilation fails. So no -j
makefails
=
$(
make
-v
|
awk
'NR==1 {if ($NF > 3.81) print "fail"}'
)
if
[
"x
$makefails
"
=
"xfail"
]
;
then
echo
"BR2_JLEVEL=1"
>>
.config
# Actually, it seems it fails anyways. I give up and document the issue
else
echo
"BR2_JLEVEL=
$WRS_MAKE_J_NUMBER
"
>>
.config
fi
# apply any pending patches
wrs_echo
"Patching buildroot"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment