Package kit: add likely-useful architectures

Required for bootstrapping them.

Change-Id: I179d8c73b08688946049bf18ff9151ef047e449b
Reviewed-on: https://review.haiku-os.org/c/1071
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Adrien Destugues 2019-02-19 20:34:29 +01:00 committed by waddlesplash
parent a54059b3f0
commit a6a6e3a842
3 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2011-2013, Haiku, Inc.
* Copyright 2011-2019, Haiku, Inc.
* Distributed under the terms of the MIT License.
*/
#ifndef _PACKAGE__PACKAGE_ARCHITECTURE_H_
@ -18,6 +18,9 @@ enum BPackageArchitecture {
B_PACKAGE_ARCHITECTURE_PPC = 5,
B_PACKAGE_ARCHITECTURE_ARM = 6,
B_PACKAGE_ARCHITECTURE_M68K = 7,
B_PACKAGE_ARCHITECTURE_SPARC = 8,
B_PACKAGE_ARCHITECTURE_ARM64 = 9,
B_PACKAGE_ARCHITECTURE_RISCV64 = 10,
//
B_PACKAGE_ARCHITECTURE_ENUM_COUNT,
};

View File

@ -67,7 +67,10 @@ const char* const kArchitectureNames[B_PACKAGE_ARCHITECTURE_ENUM_COUNT] = {
"x86_64",
"ppc",
"arm",
"m68k"
"m68k",
"sparc",
"arm64",
"riscv64"
};

View File

@ -68,7 +68,10 @@ BPackageInfo::kArchitectureNames[B_PACKAGE_ARCHITECTURE_ENUM_COUNT] = {
"x86_64",
"ppc",
"arm",
"m68k"
"m68k",
"sparc",
"arm64",
"riscv64"
};