diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-02-13 00:21:51 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-14 13:07:23 +0000 |
commit | 21d97d00d59c0fabdbb44f6a39c0f9bbcd167888 (patch) | |
tree | 1ab518a32ff85a2d2ccf1b522ae1ab2912abe4af /meta/lib/oeqa/sdk | |
parent | 84baf77027269f351b51d791a422a7f166e5d4a0 (diff) | |
download | poky-21d97d00d59c0fabdbb44f6a39c0f9bbcd167888.tar.gz |
oeqa: Use --disable-maintainer-mode configure option
since the versions of autotools might differ on target and build host, plus difference in
timestamps for configure and system can result in reconfigure lets avoid
that by disabling maintainer mode
Avoids
error: newly created file is older than distributed files!
[YOCTO #13779]
Suggested-by: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: 3dc4e27e7633ce3ca6b9647810d0996bdee48771)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdk')
-rw-r--r-- | meta/lib/oeqa/sdk/cases/buildcpio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py index b0beafb38f..902e93f623 100644 --- a/meta/lib/oeqa/sdk/cases/buildcpio.py +++ b/meta/lib/oeqa/sdk/cases/buildcpio.py | |||
@@ -28,7 +28,7 @@ class BuildCpioTest(OESDKTestCase): | |||
28 | self.assertTrue(os.path.isdir(dirs["source"])) | 28 | self.assertTrue(os.path.isdir(dirs["source"])) |
29 | os.makedirs(dirs["build"]) | 29 | os.makedirs(dirs["build"]) |
30 | 30 | ||
31 | self._run("cd {build} && {source}/configure $CONFIGURE_FLAGS".format(**dirs)) | 31 | self._run("cd {build} && {source}/configure --disable-maintainer-mode $CONFIGURE_FLAGS".format(**dirs)) |
32 | self._run("cd {build} && make -j".format(**dirs)) | 32 | self._run("cd {build} && make -j".format(**dirs)) |
33 | self._run("cd {build} && make install DESTDIR={install}".format(**dirs)) | 33 | self._run("cd {build} && make install DESTDIR={install}".format(**dirs)) |
34 | 34 | ||