Marcel Telka
2023-09-15 926f5b3a0aad39a9a1173b87485cdec7e00f9877
make-rules: make sure non-default gcc is installed

2 files modified
9 ■■■■ changed files
make-rules/common.mk 6 ●●●●● patch | view | raw | blame | history
make-rules/shared-macros.mk 3 ●●●● patch | view | raw | blame | history
make-rules/common.mk
@@ -224,3 +224,9 @@
COMPONENT_PRE_TEST_ACTION += $(COMPONENT_PRE_TEST_ACTION.$(MACH))
COMPONENT_POST_TEST_ACTION += $(COMPONENT_POST_TEST_ACTION.$(BITS))
COMPONENT_POST_TEST_ACTION += $(COMPONENT_POST_TEST_ACTION.$(MACH))
# If component asked for non-default gcc version we need to make sure it is
# installed
ifneq ($(strip $(GCC_VERSION)),$(GCC_DEFAULT))
USERLAND_REQUIRED_PACKAGES += developer/gcc-$(GCC_VERSION)
endif
make-rules/shared-macros.mk
@@ -622,7 +622,8 @@
        fi; \
    fi)
GCC_VERSION =    10
GCC_DEFAULT =    10
GCC_VERSION =    $(GCC_DEFAULT)
GCC_ROOT =    /usr/gcc/$(GCC_VERSION)
GCC_LIBDIR.32 =    $(GCC_ROOT)/lib