]> code.ossystems Code Review - openembedded-core.git/commit
i2c-tools: rewrite packaging
authorRoss Burton <ross.burton@intel.com>
Wed, 31 Jan 2018 11:05:11 +0000 (11:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Feb 2018 10:54:36 +0000 (10:54 +0000)
commita5d5d66c30378c35900c46dac4e4824a10521477
tree61385fb3253e3ab02b667303d947abd0dd75e4b1
parentfa4db2f80f6149e402f977e8de022493e6c0e1d2
i2c-tools: rewrite packaging

For unknowable reasons this recipe inherits autotools-brokensep despite not in
fact using autotools.

Remove the inherit, add a do_install() that calls the makefile directly.

Extend EXTRA_OEMAKE to pass bindir/sbindir/incdir/libdir/mandir so the files are
all packaged in the correct location (and remove the now redundant sed of
Makefile).

Pass EXTRA=eeprog to EXTRA_OEMAKE to build eeprog, and remove the now redundant
edit of Makefile.

Backport a patch from upstream to remove linux/i2c-dev.h instead of installing
it with a different name (which nobody will be using).

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/i2c-tools/files/remove-i2c-dev.patch [new file with mode: 0644]
meta/recipes-devtools/i2c-tools/i2c-tools_4.0.bb