|
a/ohbuild.sh |
|
b/ohbuild.sh |
|
... |
|
... |
113 |
# common.mak and are due to variable t4 being undefined. t4 is
|
113 |
# common.mak and are due to variable t4 being undefined. t4 is
|
114 |
# normally defined as 'mono' in T4Linux.mak, included in Makefile
|
114 |
# normally defined as 'mono' in T4Linux.mak, included in Makefile
|
115 |
# only if 'uset4' is set (which it is not by default). Common.mak
|
115 |
# only if 'uset4' is set (which it is not by default). Common.mak
|
116 |
# should heed uset4, but it does not. This does not seem to have
|
116 |
# should heed uset4, but it does not. This does not seem to have
|
117 |
# consequences, and the errors are suppressed by defining t4 as 'echo'
|
117 |
# consequences, and the errors are suppressed by defining t4 as 'echo'
|
118 |
patch -p1 <<EOF
|
118 |
patch -p1 << "EOF"
|
119 |
diff --git a/Makefile b/Makefile
|
119 |
diff --git a/Makefile b/Makefile
|
120 |
index 7c0dae8..6f51a86 100644
|
120 |
index 7c0dae8..6f51a86 100644
|
121 |
--- a/Makefile
|
121 |
--- a/Makefile
|
122 |
+++ b/Makefile
|
122 |
+++ b/Makefile
|
123 |
@@ -88,6 +88,9 @@ else
|
123 |
@@ -88,6 +88,9 @@ else
|
124 |
ifeq ($(gcc_machine),arm-linux-gnueabihf)
|
124 |
ifeq ($(gcc_machine),arm-linux-gnueabihf)
|
125 |
detected_openhome_architecture = armhf
|
125 |
detected_openhome_architecture = armhf
|
126 |
endif
|
126 |
endif
|
127 |
+ ifeq ($(gcc_machine),armv6l-unknown-linux-gnueabihf)
|
127 |
ifneq (,$(findstring linux-gnueabihf,$(gcc_machine)))
|
128 |
+ detected_openhome_architecture = armhf
|
128 |
+ detected_openhome_architecture = armhf
|
129 |
+ endif
|
129 |
+ endif
|
130 |
ifneq (,$(findstring i686,$(gcc_machine)))
|
130 |
ifneq (,$(findstring i686,$(gcc_machine)))
|
131 |
detected_openhome_architecture = x86
|
131 |
detected_openhome_architecture = x86
|
132 |
endif
|
132 |
endif
|
|
... |
|
... |
142 |
|
142 |
|
143 |
cd $topdir/ohNetGenerated
|
143 |
cd $topdir/ohNetGenerated
|
144 |
# Jul 30 2015
|
144 |
# Jul 30 2015
|
145 |
git checkout 92294ce514dbe38fa569fce8b58588f40bf09cdb || exit 1
|
145 |
git checkout 92294ce514dbe38fa569fce8b58588f40bf09cdb || exit 1
|
146 |
git checkout Makefile
|
146 |
git checkout Makefile
|
147 |
patch -p1 <<EOF
|
147 |
patch -p1 << "EOF"
|
148 |
diff --git a/Makefile b/Makefile
|
148 |
diff --git a/Makefile b/Makefile
|
149 |
index a7b84e3..5175a6f 100644
|
149 |
index a7b84e3..5175a6f 100644
|
150 |
--- a/Makefile
|
150 |
--- a/Makefile
|
151 |
+++ b/Makefile
|
151 |
+++ b/Makefile
|
152 |
@@ -79,6 +79,9 @@ else
|
152 |
@@ -79,6 +79,9 @@ else
|
153 |
ifeq ($(gcc_machine),arm-linux-gnueabihf)
|
153 |
ifeq ($(gcc_machine),arm-linux-gnueabihf)
|
154 |
detected_openhome_architecture = armhf
|
154 |
detected_openhome_architecture = armhf
|
155 |
endif
|
155 |
endif
|
156 |
+ ifeq ($(gcc_machine),armv6l-unknown-linux-gnueabihf)
|
156 |
ifneq (,$(findstring linux-gnueabihf,$(gcc_machine)))
|
157 |
+ detected_openhome_architecture = armhf
|
157 |
+ detected_openhome_architecture = armhf
|
158 |
+ endif
|
158 |
+ endif
|
159 |
ifneq (,$(findstring i686,$(gcc_machine)))
|
159 |
ifneq (,$(findstring i686,$(gcc_machine)))
|
160 |
detected_openhome_architecture = x86
|
160 |
detected_openhome_architecture = x86
|
161 |
endif
|
161 |
endif
|