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
d2d8797a
Kaydet (Commit)
d2d8797a
authored
Kas 21, 2019
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Kerneltool modülünde ufak değişimler
üst
806ae4dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
kerneltools.py
inary/actionsapi/kerneltools.py
+4
-7
No files found.
inary/actionsapi/kerneltools.py
Dosyayı görüntüle @
d2d8797a
...
...
@@ -197,12 +197,10 @@ def install():
def
installHeaders
(
extraHeaders
=
None
):
""" Install the files needed to build out-of-tree kernel modules. """
extras
=
[
"arch/x86/include"
,
"drivers/md/"
,
extras
=
[
"drivers/md/"
,
"net/mac80211"
,
"drivers/media/i2c/"
,
"drivers/media/dvb-usb"
,
"drivers/media/
usb/
dvb-usb"
,
"drivers/media/dvb-frontends"
,
"drivers/media/tuners"
,
"drivers/media/platform"
]
...
...
@@ -228,12 +226,13 @@ def installHeaders(extraHeaders=None):
shelltools
.
system
(
find_cmd
)
shelltools
.
system
(
"pwd"
)
# Install additional headers
for
headers
in
extras
:
if
not
os
.
path
.
exists
(
"{0}/{1}"
.
format
(
destination
,
headers
)):
shelltools
.
system
(
"mkdir -p {0}/{1}"
.
format
(
destination
,
headers
))
shelltools
.
system
(
"pwd"
)
shelltools
.
system
(
"cp -a {0}/*.h {1}/{2}"
.
format
(
headers
,
destination
,
headers
))
# Install remaining headers
shelltools
.
system
(
"cp -a {0} {1}"
.
format
(
" "
.
join
(
pruned
),
destination
))
...
...
@@ -253,7 +252,6 @@ def installHeaders(extraHeaders=None):
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
))
...
...
@@ -261,7 +259,6 @@ 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