Andreas Wacknitz
2024-04-05 5a9394761a76843883ab7b09d15c336324e2be13
make-rules/common.mk
@@ -147,7 +147,7 @@
# For pkg-based build style, assume there are no build, install, or test steps;
# just a package to be published.  However, 'gmake sample-manifest' requires
# build dir.  Since sample-manifest generation depends on install target we
# proto dir.  Since sample-manifest generation depends on install target we
# will abuse it to get the required dir created.
ifeq ($(strip $(BUILD_STYLE)),pkg)
BUILD_TARGET=
@@ -159,7 +159,7 @@
$(BUILD_DIR)/.installed:
   $(RM) -r $(BUILD_DIR)
   $(MKDIR) $(BUILD_DIR)
   $(MKDIR) $(PROTO_DIR)
   $(TOUCH) $@
clean::
@@ -224,3 +224,15 @@
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
# If component asked for non-default clang version we need to make sure it is
# installed
ifneq ($(strip $(CLANG_VERSION)),$(CLANG_DEFAULT))
USERLAND_REQUIRED_PACKAGES += developer/clang-$(CLANG_VERSION)
endif