michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: NO_DIST_INSTALL = True michael@0: michael@0: if CONFIG['TARGET_CPU'].endswith('86'): michael@0: cpu = 'x86' michael@0: elif CONFIG['TARGET_CPU'].startswith('arm'): michael@0: cpu = 'arm' michael@0: else: michael@0: cpu = CONFIG['TARGET_CPU'] michael@0: michael@0: GENERATED_SOURCES += [ michael@0: "%s.c" % cpu, michael@0: ] michael@0: michael@0: DEFINES['ELFHACK_BUILD'] = True michael@0: michael@0: NO_PGO = True