[PATCH] Add armhf
http://wiki.debian.org/ArmHardFloatPort
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
This is untested but should work :)
apt-pkg/deb/deblistparser.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index da8b027..1b3bfd6 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -481,6 +481,7 @@ const char *debListParser::ConvertRelation(const char *I,unsigned int &Op)
*/
static string CompleteArch(std::string& arch) {
if (arch == "armel") return "linux-arm";
+ if (arch == "armhf") return "linux-arm";
if (arch == "lpia") return "linux-i386";
if (arch == "powerpcspe") return "linux-powerpc";
if (arch == "uclibc-linux-armel") return "linux-arm";
--
1.7.1
Reply to: