Kaydet (Commit) 806ae4dc authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Kerneltools düzenlemesi

üst 90c524fa
......@@ -131,8 +131,8 @@ def configure():
# Copy the relevant configuration file
# Set EXTRAVERSION
inarytools.dosed("Makefile", "EXTRAVERSION =.*", "EXTRAVERSION = {}".format(__getExtraVersion()))
inarytools.dosed("Makefile", "EXTRAVERSION =.*", "EXTRAVERSION = {}".format(__getExtraVersion()))
# Configure the kernel interactively if
# configuration contains new options
autotools.make("ARCH={} oldconfig".format(__getKernelARCH()))
......@@ -198,7 +198,11 @@ def install():
def installHeaders(extraHeaders=None):
""" Install the files needed to build out-of-tree kernel modules. """
extras = [
extras = ["arch/x86/include",
"drivers/md/",
"net/mac80211",
"drivers/media/i2c/",
"drivers/media/dvb-usb",
"drivers/media/dvb-frontends",
"drivers/media/tuners",
"drivers/media/platform"]
......@@ -246,6 +250,10 @@ def installHeaders(extraHeaders=None):
# Copy Modules.symvers and System.map
shutil.copy("Module.symvers", "{}/".format(destination))
shutil.copy("System.map", "{}/".format(destination))
shutil.copy("Kbuild", "{}/".format(destination))
shutil.copy("Kconfig", "{}/".format(destination))
shutil.copy("Makefile", "{}/".format(destination))
shutil.copytree("scripts/", "{}/".format(destination))
# Copy .config file which will be needed by some external modules
shutil.copy(".config", "{}/".format(destination))
......@@ -253,7 +261,7 @@ def installHeaders(extraHeaders=None):
# Settle the correct build symlink to this headers
inarytools.dosym("/{}".format(headersDirectoryName), "/lib/modules/{}-sulinos/build".format(suffix))
inarytools.dosym("build", "/lib/modules/{}-sulinos/source".format(suffix))
shutil.copy("arch/x86/kernel/asm-offsets.s", "{}/lib/modules/{}-sulinos/source/arch/x86/kernel".format(get.installDIR(), suffix))
def installLibcHeaders(excludes=None):
headers_tmp = os.path.join(get.installDIR(), 'tmp-headers')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment