File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,13 @@ export ROOTDIR = $(dir $(mkfile_path))
2020$(info ROOTDIR is $(ROOTDIR))
2121
2222$(info DEVFAMILY is $(DEVFAMILY_UP))
23- FAMILYSETUPFILE = python-scripts/family_setup.py
2423
2524ifeq ($(DEVFAMILY_UP ) , $(filter $(DEVFAMILY_UP ) , J721E J7200 J721S2 J784S4 AM68 AM69 J722S AM67 J742S2) )
2625 CONFDIR = source/devices/J7_Family/${OS_LOW}
2726else
2827 CONFDIR = source/devices/$(DEVFAMILY_UP ) /${OS_LOW}
2928endif
30- TAGFILE = configs/$(DEVFAMILY_UP ) /$(DEVFAMILY_UP ) _${OS_LOW}_tags.py
3129
32- $(info TAGFILE is $(TAGFILE))
3330$(info CONFDIR is $(CONFDIR))
3431
3532VERSION = $(shell cat ${CONFDIR}/version.txt)
4441# Internal variables.
4542PAPEROPT_a4 = -D latex_paper_size=a4
4643PAPEROPT_letter = -D latex_paper_size=letter
47- CONFLOC = -c build/
44+ CONFLOC = -c $( ROOTDIR )
4845VEROPTS = -D version=${VERSION} -D release=${VERSION}
4946GIT_HASH = -D html_context.commit="$(shell git rev-parse --short HEAD) "
5047ALLSPHINXOPTS = -d $(BUILDDIR ) /doctrees $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) $(CONFLOC ) $(VEROPTS ) $(GIT_HASH )
@@ -61,10 +58,6 @@ clean:
6158 rm -rf " $( BUILDDIR) "
6259 rm -f source/_replacevars.rst
6360
64- config :
65- mkdir -pv build
66- cat python-scripts/conf.py ${TAGFILE} ${FAMILYSETUPFILE} > build/conf.py
67-
6861lint :
6962 rstcheck -r " $( SOURCEDIR) "
7063
You can’t perform that action at this time.
0 commit comments