Skip to content

Commit 547d470

Browse files
bogdandrutusbylica-splunk
authored andcommitted
[chore] fix make otelcontribcol, require genotelcontribcol (open-telemetry#35707)
Fixes open-telemetry#35631 No changelog since this does not affect anyone outside this repo. Signed-off-by: Bogdan Drutu <[email protected]>
1 parent 0af030c commit 547d470

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,13 +337,13 @@ genotelcontribcol: $(BUILDER)
337337

338338
# Build the Collector executable.
339339
.PHONY: otelcontribcol
340-
otelcontribcol:
340+
otelcontribcol: genotelcontribcol
341341
cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/otelcontribcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
342342
-tags $(GO_BUILD_TAGS) .
343343

344344
# Build the Collector executable without the symbol table, debug information, and the DWARF symbol table.
345345
.PHONY: otelcontribcollite
346-
otelcontribcollite:
346+
otelcontribcollite: genotelcontribcol
347347
cd ./cmd/otelcontribcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/otelcontribcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
348348
-tags $(GO_BUILD_TAGS) -ldflags $(GO_BUILD_LDFLAGS) .
349349

@@ -353,12 +353,12 @@ genoteltestbedcol: $(BUILDER)
353353

354354
# Build the Collector executable, with only components used in testbed.
355355
.PHONY: oteltestbedcol
356-
oteltestbedcol:
356+
oteltestbedcol: genoteltestbedcol
357357
cd ./cmd/oteltestbedcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/oteltestbedcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
358358
-tags $(GO_BUILD_TAGS) .
359359

360360
.PHONY: oteltestbedcollite
361-
oteltestbedcollite:
361+
oteltestbedcollite: genoteltestbedcol
362362
cd ./cmd/oteltestbedcol && GO111MODULE=on CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/oteltestbedcol_$(GOOS)_$(GOARCH)$(EXTENSION) \
363363
-tags $(GO_BUILD_TAGS) -ldflags $(GO_BUILD_LDFLAGS) .
364364

0 commit comments

Comments
 (0)