mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
devtool.py: Correct override syntax
(From OE-Core rev: 3a0af9245b11326ced96a05db85e0e45e6422d4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -373,7 +373,7 @@ class DevtoolAddTests(DevtoolBase):
|
||||
recipefile = '%s/recipes/libftdi/libftdi_%s.bb' % (self.workspacedir, version)
|
||||
result = runCmd('recipetool setvar %s EXTRA_OECMAKE -- \'-DPYTHON_BINDINGS=OFF -DLIBFTDI_CMAKE_CONFIG_DIR=${datadir}/cmake/Modules\'' % recipefile)
|
||||
with open(recipefile, 'a') as f:
|
||||
f.write('\nFILES_${PN}-dev += "${datadir}/cmake/Modules"\n')
|
||||
f.write('\nFILES:${PN}-dev += "${datadir}/cmake/Modules"\n')
|
||||
# We don't have the ability to pick up this dependency automatically yet...
|
||||
f.write('\nDEPENDS += "libusb1"\n')
|
||||
f.write('\nTESTLIBOUTPUT = "${COMPONENTS_DIR}/${TUNE_PKGARCH}/${PN}/${libdir}"\n')
|
||||
|
||||
Reference in New Issue
Block a user