'make ARCH=um bindeb-pkg' shows the following warning. $ make ARCH=um bindeb-pkg [snip] GEN debian ** ** ** WARNING ** ** ** Your architecture doesn't have its equivalent Debian userspace architecture defined! Falling back to the current host architecture (amd64). Please add support for um to ./scripts/package/mkdebian ... This commit hard-codes i386/amd64 because UML is only supported for x86.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -70,6 +70,13 @@ set_debarch() { · 69 unmodified lines | |||
| 70 | debarch=sh4$(if_enabled_echo CONFIG_CPU_BIG_ENDIAN eb) | 70 | debarch=sh4$(if_enabled_echo CONFIG_CPU_BIG_ENDIAN eb) |
| 71 | fi | 71 | fi |
| 72 | ;; | 72 | ;; |
| 73 | um) | ||
| 74 | if is_enabled CONFIG_64BIT; then | ||
| 75 | debarch=amd64 | ||
| 76 | else | ||
| 77 | debarch=i386 | ||
| 78 | fi | ||
| 79 | ;; | ||
| 73 | esac | 80 | esac |
| 74 | if [ -z "$debarch" ]; then | 81 | if [ -z "$debarch" ]; then |
| 75 | debarch=$(dpkg-architecture -qDEB_HOST_ARCH) | 82 | debarch=$(dpkg-architecture -qDEB_HOST_ARCH) |