| | |
| | | |
| | | # 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= |
| | |
| | | |
| | | $(BUILD_DIR)/.installed: |
| | | $(RM) -r $(BUILD_DIR) |
| | | $(MKDIR) $(BUILD_DIR) |
| | | $(MKDIR) $(PROTO_DIR) |
| | | $(TOUCH) $@ |
| | | |
| | | clean:: |
| | |
| | | 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 |