util: Remove dependency check
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 30 Mar 2020 09:00:12 +0000 (10:00 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Sat, 15 Aug 2020 13:09:17 +0000 (13:09 +0000)
The list is rather old and it contains some entries which are likely
unneeded. Since we are also now able to select specific FS binaries
to be compiled individually, there is not point of requiring all
components to be installed.
Instead, if is better to rely on the error message of building process
and let the users figure out which packages they need to install

Change-Id: I16c74861cb1f2b09c3e91e408ace01a9bd7a234d
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32556
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/gen_arm_fs_files.py

index 2f339a299462a6514e55410a755624b3ea8818fe..986dda424d53302e7538a95cd09e8837d290eb7a 100755 (executable)
@@ -292,30 +292,6 @@ if os.path.exists(revisions_dir):
     print "Error: %s already exists." %revisions_dir
     sys.exit(1)
 
-# Some basic dependency checking
-needed_programs = [
-    "make",
-    "aarch64-linux-gnu-gcc",
-    "arm-linux-gnueabihf-gcc",
-    "aarch64-linux-gnu-gcc-4.8",
-    "arm-linux-gnueabihf-gcc-4.8",
-    "gcc",
-    "bc",
-    "dtc",
-    "arm-linux-gnueabi-gcc"
-]
-
-for program in needed_programs:
-    if not spawn.find_executable(program):
-        print "Error: command %s not found in $PATH" % program
-        print ("If running on an Debian-based linux, please try the following "
-               "cmd to get all the necessary packages: ")
-        print ("sudo apt-get install -y make gcc bc gcc-aarch64-linux-gnu "
-              "gcc-4.8-aarch64-linux-gnu gcc-4.8-arm-linux-gnueabihf "
-              "gcc-arm-linux-gnueabihf device-tree-compiler "
-              "gcc-arm-linux-gnueabi")
-        sys.exit(1)
-
 os.mkdir(binaries_dir);
 os.mkdir(revisions_dir);