mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
298e28ff96
Commit created from merging: https://github.com/SaskatoonTechworks/meta-raspberrypi/commit/c8046050db1f0026c1f10e41d95619d86ac7a822 https://github.com/SaskatoonTechworks/meta-raspberrypi/commit/fe2467c0e82ff3d243993bdffde6a24754c3a7f6 https://github.com/SaskatoonTechworks/meta-raspberrypi/commit/72f7705cbac99b834654894b545d5fa431a13b51 Added some minor changes: * remove PR * remove tabs Change-Id: Ia430db732e6c9662f71eca2433d03cce738ca23f Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
32 lines
822 B
BlitzBasic
32 lines
822 B
BlitzBasic
DESCRIPTION = "A library to control Raspberry Pi GPIO channels"
|
|
HOMEPAGE = "https://projects.drogon.net/raspberry-pi/wiringpi/"
|
|
SECTION = "devel/libs"
|
|
LICENSE = "LGPLv3+"
|
|
LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
|
|
|
SRCREV = "98bcb20d9391ebde24f9eb1244f0d238fb1a1dab"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
SRC_URI = "\
|
|
git://git.drogon.net/wiringPi \
|
|
file://Makefiles-install.patch \
|
|
"
|
|
|
|
COMPATIBLE_MACHINE = "raspberrypi"
|
|
|
|
CFLAGS_prepend = "-I${S}/wiringPi"
|
|
|
|
EXTRA_OEMAKE += "'INCLUDE_DIR=${D}${includedir}' 'LIB_DIR=${D}${libdir}'"
|
|
EXTRA_OEMAKE += "'DESTDIR=${D}/usr' 'PREFIX=""'"
|
|
|
|
do_compile() {
|
|
oe_runmake -C wiringPi
|
|
oe_runmake -C gpio 'LDFLAGS=${LDFLAGS} -L${S}/wiringPi'
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake -C wiringPi install
|
|
oe_runmake -C gpio install
|
|
}
|