VirtualBox

Changeset 65952 in vbox for trunk


Ignore:
Timestamp:
Mar 6, 2017 4:14:56 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
113777
Message:

VMM/Makefile.kmk: apply pylint to IEMAllInstructionsPython.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r65904 r65952  
    922922
    923923#
     924# Process python source(s).
     925#
     926BLDDIRS += $(PATH_TARGET)/pylint
     927
     928define def_vbox_vmm_py_check
     929$(eval name:=$(basename $(notdir $(py))))
     930
     931pylint::   $(name)-py-phony.o
     932$(name).o: $(name)-py-phony.o
     933$(PATH_TARGET)/pylint/$(name).o $(name)-py-phony.o:: $(py) | $(PATH_TARGET)/pylint/
     934ifdef VBOX_WITH_PYLINT
     935        $(QUIET2)$(call MSG_L1,Subjecting $(py) to pylint...)
     936        $(QUIET)$(REDIRECT) -C "$(dir $(py))" -E LC_ALL=C -- \
     937                $(VBOX_PYLINT) --rcfile=$(PATH_TARGET)/no-such-pylintrc \
     938                        $$(VBOX_PYLINT_FLAGS) $$($(py)_VBOX_PYLINT_FLAGS) ./$(notdir $(py))
     939endif
     940        $(QUIET)$(APPEND) -t "$(PATH_TARGET)/pylint/$(name).o"
     941
     942TESTING += $(name)-py-phony.o
     943endef # def_vbox_vmm_py_check
     944
     945$(foreach py, $(addprefix $(PATH_SUB_CURRENT)/VMMAll/, IEMAllInstructionsPython.py ) , $(eval $(def_vbox_vmm_py_check)))
     946
     947
     948#
    924949# Test for undefined symbols.
    925950#
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette