Commit 45893484 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

gcc/gcc-intermediate: remove package



Now that we have switched to a two steps gcc build process that uses
only gcc-initial and gcc-final, we can get rid of the gcc-intermediate
package.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 6063a8fb
Loading
Loading
Loading
Loading
+0 −49
Original line number Diff line number Diff line
################################################################################
#
# gcc-intermediate
#
################################################################################

GCC_INTERMEDIATE_VERSION = $(GCC_VERSION)
GCC_INTERMEDIATE_SITE    = $(GCC_SITE)
GCC_INTERMEDIATE_SOURCE  = $(GCC_SOURCE)

HOST_GCC_INTERMEDIATE_DEPENDENCIES = \
	$(HOST_GCC_COMMON_DEPENDENCIES) \
	$(BR_LIBC)-configure

HOST_GCC_INTERMEDIATE_EXTRACT_CMDS = $(HOST_GCC_EXTRACT_CMDS)

ifneq ($(call qstrip, $(BR2_XTENSA_CORE_NAME)),)
HOST_GCC_INTERMEDIATE_POST_EXTRACT_HOOKS += HOST_GCC_XTENSA_OVERLAY_EXTRACT
endif

HOST_GCC_INTERMEDIATE_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES

# gcc doesn't support in-tree build, so we create a 'build'
# subdirectory in the gcc sources, and build from there.
HOST_GCC_INTERMEDIATE_SUBDIR = build

HOST_GCC_INTERMEDIATE_PRE_CONFIGURE_HOOKS += HOST_GCC_CONFIGURE_SYMLINK

HOST_GCC_INTERMEDIATE_CONF_OPT = \
	$(HOST_GCC_COMMON_CONF_OPT) \
	--enable-languages=c \
	--disable-largefile \
	--disable-nls \
	$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))

HOST_GCC_INTERMEDIATE_CONF_ENV = \
	$(HOST_GCC_COMMON_CONF_ENV)

HOST_GCC_INTERMEDIATE_MAKE_OPT = all-gcc
ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
HOST_GCC_INTERMEDIATE_MAKE_OPT += all-target-libgcc
endif

HOST_GCC_INTERMEDIATE_INSTALL_OPT = install-gcc
ifeq ($(BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE),y)
HOST_GCC_INTERMEDIATE_INSTALL_OPT += install-target-libgcc
endif

$(eval $(host-autotools-package))
+1 −2
Original line number Diff line number Diff line
################################################################################
#
# Common variables for the gcc-initial, gcc-intermediate and gcc-final
# packages.
# Common variables for the gcc-initial and gcc-final packages.
#
################################################################################