mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix handling of auto-generated file xsm.py.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
61c6564d34
commit
e6f4576ed5
3 files changed
+3
-11
No files matched your search
@@ -149,6 +149,7 @@
|
||||
^tools/misc/xenperf$
|
||||
^tools/pygrub/build/.*$
|
||||
^tools/python/build/.*$
|
||||
^tools/python/xen/util/xsm/xsm\.py$
|
||||
^tools/security/secpol_tool$
|
||||
^tools/security/xen/.*$
|
||||
^tools/security/xensec_tool$
|
||||
|
||||
@@ -23,10 +23,10 @@ CATALOGS = $(patsubst %,xen/xm/messages/%.mo,$(LINGUAS))
|
||||
NLSDIR = /usr/share/locale
|
||||
|
||||
.PHONY: build buildpy
|
||||
buildpy:
|
||||
buildpy: xsm.py
|
||||
CC="$(CC)" CFLAGS="$(CFLAGS)" XEN_SECURITY_MODULE="$(XEN_SECURITY_MODULE)" python setup.py build
|
||||
|
||||
build: xsm.py buildpy refresh-pot refresh-po $(CATALOGS)
|
||||
build: buildpy refresh-pot refresh-po $(CATALOGS)
|
||||
|
||||
# NB we take care to only update the .pot file it strings have
|
||||
# actually changed. This is complicated by the embedded date
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
XEN_SECURITY_MODULE = "flask"
|
||||
from xsm_core import *
|
||||
|
||||
import xen.util.xsm.flask.flask as xsm_module
|
||||
|
||||
xsm_init(xsm_module)
|
||||
from xen.util.xsm.flask.flask import *
|
||||
del xsm_module
|
||||
|
||||