Commit ac976c68 authored by Federico Vaga's avatar Federico Vaga

Merge branch '32-job-failed-32926704' into 'master'

Resolve "Job Failed #32926704"

Closes #32

See merge request be-cem-edl/fec/hardware-modules/svec!22
parents 291d9fb1 b5284a79
......@@ -11,6 +11,30 @@ HDL_DIR ?= $(TOP_DIR)/hdl
KVERSION ?= $(shell uname -r)
KERNELSRC ?= /lib/modules/$(KVERSION)/build
CONFIG_FPGA_MGR_BACKPORT ?= n
# The following environment variables store the path of respective projects.
ifndef VMEBRIDGE
$(error "Missing VMEBRIDGE environment variable")
endif
ifeq ($(CONFIG_FPGA_MGR_BACKPORT),y)
ifndef FPGA_MGR
$(error "Missing FPGA_MGR environment variable")
endif
endif
ifndef FMC
$(error "Missing FMC environment variable")
endif
ifndef I2C
$(error "Missing I2C environment variable")
endif
ifndef SPI
$(error "Missing SPI environment variable")
endif
VMEBRIDGE_ABS ?= $(abspath $(VMEBRIDGE))
FPGA_MGR_ABS ?= $(abspath $(FPGA_MGR))
FMC_ABS ?= $(abspath $(FMC))
......@@ -21,8 +45,6 @@ VERSION = $(shell git describe --dirty --long --tags)
CHEBY ?= cheby
CONFIG_FPGA_MGR_BACKPORT ?= n
all: modules
.PHONY: all modules clean help install modules_install coccicheck svec-core-fpga.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment