git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b3d8c
)
linux: don't patch unifdef.c if it doesn't exist
author
Andreas Oberritter
<obi@opendreambox.org>
Tue, 1 Feb 2011 15:16:16 +0000
(15:16 +0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Fri, 11 Feb 2011 12:52:22 +0000
(12:52 +0000)
* Fixes build with Linux 2.6.18.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
recipes/linux/linux.inc
patch
|
blob
|
history
diff --git
a/recipes/linux/linux.inc
b/recipes/linux/linux.inc
index
156dbbe
..
aca6a06
100644
(file)
--- a/
recipes/linux/linux.inc
+++ b/
recipes/linux/linux.inc
@@
-76,7
+76,9
@@
do_configure_prepend() {
# see https://patchwork.kernel.org/patch/11166/
# committed in 2.6.29 (commit d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7)
- sed -i -e 's/getline/parseline/g' ${S}/scripts/unifdef.c
+ if [ -e ${S}/scripts/unifdef.c ]; then
+ sed -i -e 's/getline/parseline/g' ${S}/scripts/unifdef.c
+ fi
echo "" > ${S}/.config