We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03275a5 + b3f0b8f commit 41e7cd5Copy full SHA for 41e7cd5
Makefile
@@ -1,3 +1,8 @@
1
+
2
+ifneq "$(HDMI2USB_ENV)" "1"
3
+$(error "Please 'source scripts/setup-env.sh'")
4
+endif
5
6
BOARD ?= atlys
7
MSCDIR ?= build/misoc
8
PROG ?= impact
@@ -26,8 +31,6 @@ else
26
31
FLTERM = $(MSCDIR)/tools/flterm
27
32
endif
28
33
29
-include Makefile.$(TARGET)
30
-
34
help:
35
@echo "Environment:"
36
@echo " BOARD=atlys OR opsis (current: $(BOARD))"
@@ -45,6 +48,8 @@ help:
45
48
@echo " make clean"
46
49
@echo " make all"
47
50
51
+include Makefile.$(TARGET)
52
53
clean: clean-$(TARGET)
54
cd $(MSCDIR) && $(CMD) clean
55
scripts/setup-env.sh
@@ -75,4 +75,4 @@ python3 -c "import fl" || (echo "libfpgalink broken"; return)
75
76
alias python=python3
77
78
-HDMI2USB_ENV=1
+export HDMI2USB_ENV=1
0 commit comments