mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
The previous changeset, e4f5949c44 ("tools: Add -Werror by default to all
tools/"), added "-Werror" to CFLAGS in tools/Rules.mk. Remove it from
everywhere else now it is duplicated.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
30 lines
829 B
Python
30 lines
829 B
Python
from distutils.core import setup, Extension
|
|
from distutils.ccompiler import new_compiler
|
|
import os
|
|
import sys
|
|
|
|
extra_compile_args = [ "-fno-strict-aliasing" ]
|
|
|
|
XEN_ROOT = "../.."
|
|
|
|
xenfsimage = Extension("xenfsimage",
|
|
extra_compile_args = extra_compile_args,
|
|
include_dirs = [ XEN_ROOT + "/tools/libfsimage/common/" ],
|
|
library_dirs = [ XEN_ROOT + "/tools/libfsimage/common/" ],
|
|
libraries = ["xenfsimage"],
|
|
sources = ["src/fsimage/fsimage.c"])
|
|
|
|
pkgs = [ 'grub' ]
|
|
|
|
setup(name='pygrub',
|
|
version='0.6',
|
|
description='Boot loader that looks a lot like grub for Xen',
|
|
author='Jeremy Katz',
|
|
author_email='katzj@redhat.com',
|
|
license='GPL',
|
|
package_dir={'grub': 'src', 'fsimage': 'src'},
|
|
scripts = ["src/pygrub"],
|
|
packages=pkgs,
|
|
ext_modules = [ xenfsimage ]
|
|
)
|