BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) GIT_TAG:=$(shell cat GIT_TAG) REPO=linux REPO_OWNER=torvalds REPO_SPARSE_CHECKOUT=tools lib/bootconfig.c include/linux/bootconfig.h SIMPLE_CREATE_BINARIES=false # this is a native build which we can not cross compile # ensure we are building to a directory based on the current # host platform to avoid ever creating a different arch'd # binary in the wrong folder BINARY_PLATFORMS=$(BUILDER_PLATFORM) BINARY_TARGETS=$(OUTPUT_BIN_DIR)/$(subst /,-,$(BINARY_PLATFORMS))/tools/bootconfig HAS_LICENSES=false TAR_FILE_PREFIX=bootconfig HAS_S3_ARTIFACTS=true SKIP_CHECKSUM_VALIDATION=true IMAGE_NAMES= # this project never builds arm, dont fake it in presubmits FAKE_ARM_BINARIES_FOR_VALIDATION=false # we cant cross build this so must build on an amd instance BUILDSPEC_PLATFORM=LINUX_CONTAINER include $(BASE_DIRECTORY)/Common.mk tarballs: gather-non-golang-licenses $(OUTPUT_DIR)/ATTRIBUTION.txt $(BINARY_TARGETS): MAKEFLAGS= $(BINARY_TARGETS): $(GIT_CHECKOUT_TARGET) mkdir -p $(MAKE_ROOT)/$(@D) $(MAKE) -C $(REPO)/tools/bootconfig OUTPUT=$(MAKE_ROOT)/$(@D)/ .PHONY: gather-non-golang-licenses gather-non-golang-licenses: $(GIT_CHECKOUT_TARGET) source $(BUILD_LIB)/common.sh && build::non-golang::copy_licenses $(REPO) $(OUTPUT_DIR)/LICENSES/github.com/$(REPO_OWNER)/$(REPO) ########### DO NOT EDIT ############################# # To update call: make add-generated-help-block # This is added to help document dynamic targets and support shell autocompletion # Run make help for a formatted help block with all targets include Help.mk ########### END GENERATED ###########################