• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/binutils/binutils.mk
Zakharov VladZakharov Vlad committed 5f8ef7e25c521 Apr 2017
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# binutils
4
#
5
################################################################################
6
​
7
# Version is set when using buildroot toolchain.
8
# If not, we do like other packages
9
BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION))
10
ifeq ($(BINUTILS_VERSION),)
11
ifeq ($(BR2_arc),y)
12
BINUTILS_VERSION = arc-2017.03-rc1
13
else
14
BINUTILS_VERSION = 2.27
15
endif
16
endif # BINUTILS_VERSION
17
​
18
ifeq ($(BR2_arc),y)
19
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION))
20
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
21
BINUTILS_FROM_GIT = y
22
endif
23
BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
24
BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
25
BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))
26
BINUTILS_INSTALL_STAGING = YES
27
BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
28
BINUTILS_LICENSE = GPL-3.0+, libiberty LGPL-2.1+
29
BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB
30
​
31
ifeq ($(BINUTILS_FROM_GIT),y)
32
BINUTILS_DEPENDENCIES += host-flex host-bison
33
HOST_BINUTILS_DEPENDENCIES += host-flex host-bison
34
endif
35
​
36
# When binutils sources are fetched from the binutils-gdb repository,
37
# they also contain the gdb sources, but gdb shouldn't be built, so we
38
# disable it.
39
BINUTILS_DISABLE_GDB_CONF_OPTS = \
40
    --disable-sim \
41
    --disable-gdb
42
​
43
# We need to specify host & target to avoid breaking ARM EABI
44
BINUTILS_CONF_OPTS = \
45
    --disable-multilib \
46
    --disable-werror \
47
    --host=$(GNU_TARGET_NAME) \
48
    --target=$(GNU_TARGET_NAME) \
49
    --enable-install-libiberty \
50
    --enable-build-warnings=no \
51
    $(BINUTILS_DISABLE_GDB_CONF_OPTS) \
52
    $(BINUTILS_EXTRA_CONFIG_OPTIONS)
53
​
54
ifeq ($(BR2_STATIC_LIBS),y)
55
BINUTILS_CONF_OPTS += --disable-plugins
56
endif
57
​
58
# Don't build documentation. It takes up extra space / build time,
59
# and sometimes needs specific makeinfo versions to work
60
BINUTILS_CONF_ENV += MAKEINFO=true
61
BINUTILS_MAKE_OPTS += MAKEINFO=true
62
BINUTILS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) MAKEINFO=true install
63
HOST_BINUTILS_CONF_ENV += MAKEINFO=true
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.