common.mk: sample-manifest for pkg build style needs proto dir
| | |
| | | |
| | | # 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:: |