|
a |
|
b/ohpatches/ohNetGenerated/001-makefile-arm-archs.patch |
|
|
1 |
diff --git a/Makefile b/Makefile
|
|
|
2 |
index bf7a1ba..49bffaf 100644
|
|
|
3 |
--- a/Makefile
|
|
|
4 |
b/Makefile
|
|
|
5 |
@@ -70,14 +70,17 @@ else
|
|
|
6 |
else ifneq (,$(findstring linux,$(gcc_machine)))
|
|
|
7 |
detected_openhome_system = Linux
|
|
|
8 |
endif
|
|
|
9 |
- ifeq ($(gcc_machine),arm-none-linux-gnueabi)
|
|
|
10 |
- detected_openhome_architecture = armel
|
|
|
11 |
- endif
|
|
|
12 |
- ifeq ($(gcc_machine),arm-linux-gnueabi)
|
|
|
13 |
- detected_openhome_architecture = armel
|
|
|
14 |
- endif
|
|
|
15 |
- ifeq ($(gcc_machine),arm-linux-gnueabihf)
|
|
|
16 |
- detected_openhome_architecture = armhf
|
|
|
17 |
ifneq (,$(findstring arm,$(gcc_machine)))
|
|
|
18 |
ifneq (,$(findstring linux-gnueabihf,$(gcc_machine)))
|
|
|
19 |
detected_openhome_architecture = armhf
|
|
|
20 |
else ifneq (,$(findstring armv7hl,$(gcc_machine)))
|
|
|
21 |
# cubox: armv7hl-redhat-linux-gnueabi
|
|
|
22 |
detected_openhome_architecture = armhf
|
|
|
23 |
else ifeq (${detected_openhome_system},Qnap)
|
|
|
24 |
detected_openhome_architecture = x19
|
|
|
25 |
else
|
|
|
26 |
detected_openhome_architecture = armel
|
|
|
27 |
endif
|
|
|
28 |
endif
|
|
|
29 |
ifneq (,$(findstring i686,$(gcc_machine)))
|
|
|
30 |
detected_openhome_architecture = x86
|
|
|
31 |
|