mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
build-linux and build-gem5 seem to work
This commit is contained in:
12
release
12
release
@@ -10,21 +10,21 @@ import subprocess
|
||||
import time
|
||||
|
||||
import common
|
||||
release_zip = imp.load_source('release_zip', os.path.join(common.root_dir, 'release-zip'))
|
||||
release_upload = imp.load_source('release_upload', os.path.join(common.root_dir, 'release-upload'))
|
||||
release_zip = imp.load_source('release_zip', os.path.join(kwargs['root_dir'], 'release-zip'))
|
||||
release_upload = imp.load_source('release_upload', os.path.join(kwargs['root_dir'], 'release-upload'))
|
||||
|
||||
start_time = time.time()
|
||||
# TODO factor those out so we don't redo the same thing multiple times.
|
||||
# subprocess.check_call([os.path.join(common.root_dir, 'test')])
|
||||
# subprocess.check_call([os.path.join(common.root_dir, ''bench-all', '-A', '-u'])
|
||||
# subprocess.check_call([os.path.join(kwargs['root_dir'], 'test')])
|
||||
# subprocess.check_call([os.path.join(kwargs['root_dir'], ''bench-all', '-A', '-u'])
|
||||
|
||||
# A clean release requires a full rebuild unless we hack it :-(
|
||||
# We can't just use our current build as it contains packages we've
|
||||
# installed in random experiments. And with EXT2: we can't easily
|
||||
# know what the smallest root filesystem size is and use it either...
|
||||
# https://stackoverflow.com/questions/47320800/how-to-clean-only-target-in-buildroot
|
||||
subprocess.check_call([os.path.join(common.root_dir, 'configure'), '--all'])
|
||||
subprocess.check_call([os.path.join(common.root_dir, 'build'), '--all-archs', 'release'])
|
||||
subprocess.check_call([os.path.join(kwargs['root_dir'], 'configure'), '--all'])
|
||||
subprocess.check_call([os.path.join(kwargs['root_dir'], 'build'), '--all-archs', 'release'])
|
||||
release_zip.main()
|
||||
subprocess.check_call(['git', 'push'])
|
||||
release_upload.main()
|
||||
|
||||
Reference in New Issue
Block a user