Add ARM architecture support to the build environment.

This commit is contained in:
Jeffrey Townsend
2016-03-30 18:13:31 -07:00
parent 82585132c4
commit 8f6e933b08
4 changed files with 12 additions and 5 deletions

9
make/config.arm.mk Normal file
View File

@@ -0,0 +1,9 @@
############################################################
#
# Open Network Linux
#
############################################################
include $(ONL)/make/config.mk
export TOOLCHAIN := arm-linux-gnueabi
export ARCH := arm
export UARCH := ARM

View File

@@ -14,7 +14,7 @@ include $(ONL)/make/config.mk
# directory tree.
#
ifndef ARCHES
ARCHES := amd64 powerpc all
ARCHES := amd64 powerpc arm all
endif
pkgall:

View File

@@ -1012,7 +1012,7 @@ if __name__ == '__main__':
ap.add_argument("--csv", action='store_true')
ap.add_argument("--show-group", action='store_true')
ap.add_argument("--arch")
ap.add_argument("--arches", nargs='+', default=['amd64', 'powerpc', 'all']),
ap.add_argument("--arches", nargs='+', default=['amd64', 'powerpc', 'arm', 'all']),
ap.add_argument("--pmake", action='store_true')
ap.add_argument("--prereq-packages", action='store_true')
ap.add_argument("--lookup", metavar='PACKAGE')
@@ -1238,5 +1238,3 @@ if __name__ == '__main__':
except (OnlPackageError, onlyaml.OnlYamlError), e:
logger.error(e)
sys.exit(1)