Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
806ae4dc
Kaydet (Commit)
806ae4dc
authored
Kas 21, 2019
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Kerneltools düzenlemesi
üst
90c524fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
kerneltools.py
inary/actionsapi/kerneltools.py
+11
-3
No files found.
inary/actionsapi/kerneltools.py
Dosyayı görüntüle @
806ae4dc
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment