utils/genrandconfig: adjust to core-dependencies removal
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 30 Mar 2018 19:28:03 +0000 (21:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 30 Mar 2018 20:00:08 +0000 (22:00 +0200)
In commit ea9669fffae7d807ccb3810eb6c662cbb9e8f96f ("core: kill
DEPENDENCIES_HOST_PREREQ"), the core-dependencies make target was
removed, and is now named just "dependencies".

This broke the utils/genrandconfig script, and this commit intends to
fix that.

Since this script is part of the Buildroot tree, it is provided
together with Buildroot, so we don't need to support the legacy
core-dependencies target. Someone checking out an older Buildroot will
have a working setup, with support/dependencies exposing
core-dependencies and utils/genrandconfig using core-dependencies. The
only broken situation will be between
ea9669fffae7d807ccb3810eb6c662cbb9e8f96f and this commit, but that's
not a sufficient reason to add some backward compatibility code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/genrandconfig

index d95866457279f7ee48faa56639e2da97626bba9e..07882200e075a1e6c106f97cd3a6ba2ad1538235 100755 (executable)
@@ -404,7 +404,7 @@ def gen_config(args):
                            "savedefconfig"])
 
     return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir,
-                            "core-dependencies"])
+                            "dependencies"])
 
 
 if __name__ == '__main__':