projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remplacé echo par msg_log
[hvlinux.git]
/
stage2
/
pkg
/
linux
diff --git
a/stage2/pkg/linux
b/stage2/pkg/linux
index
71e7574
..
a3ee9f5
100644
(file)
--- a/
stage2/pkg/linux
+++ b/
stage2/pkg/linux
@@
-1,10
+1,14
@@
#!/bin/bash
#!/bin/bash
-HV_NO_CONFIGURE_SCRIPT=1
-
hvbuild()
{
hvbuild()
{
- # The kernel sources were already copied into /usr/src in stage0
+ # Check if kernel sources from stage0 are still in /usr/src.
+ # If not, recopy them.
+ if [ ! -d /usr/src/${PACKAGE} ]; then
+ cp -a ${LFS_TMP}/${PACKAGE} /usr/src
+ fi
+
+ # Install headers
cd /usr/src/${PACKAGE}
make mrproper
make headers_check
cd /usr/src/${PACKAGE}
make mrproper
make headers_check