mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e5be97d75 | ||
|
|
89bdf97bea | ||
|
|
c71d79efc5 | ||
|
|
aa913d4580 | ||
|
|
da31d6f1ff | ||
|
|
a9be788e8f | ||
|
|
6c5e9d45f3 | ||
|
|
84d3561c74 | ||
|
|
4be82c166d | ||
|
|
72fe587b22 | ||
|
|
2b3693ea3a | ||
|
|
1bf03aef09 | ||
|
|
7b191e3dcf | ||
|
|
0a4d4dc17d | ||
|
|
0f832cb8a4 | ||
|
|
1822e9066e | ||
|
|
e70077a8d0 | ||
|
|
2e10111222 | ||
|
|
e89c1c7bfb | ||
|
|
77a5cc016a | ||
|
|
fb9599c5ec | ||
|
|
0a1d7c5f38 | ||
|
|
604905d5c8 | ||
|
|
22bc3422b4 | ||
|
|
d5d92f2cb7 | ||
|
|
a48743dc36 | ||
|
|
fa217ed21c | ||
|
|
48b2ab42de |
@@ -118,7 +118,7 @@ IMAGE_CMD_rpi-sdimg () {
|
|||||||
# Create a vfat image with boot files
|
# Create a vfat image with boot files
|
||||||
BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }')
|
BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }')
|
||||||
rm -f ${WORKDIR}/boot.img
|
rm -f ${WORKDIR}/boot.img
|
||||||
mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS
|
mkfs.vfat -F32 -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS
|
||||||
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/
|
mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/* ::/
|
||||||
if test -n "${DTS}"; then
|
if test -n "${DTS}"; then
|
||||||
# Copy board device trees to root folder
|
# Copy board device trees to root folder
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer
|
|||||||
for layer in BBFILE_COLLECTIONS.split())}"
|
for layer in BBFILE_COLLECTIONS.split())}"
|
||||||
|
|
||||||
BBFILES_DYNAMIC += " \
|
BBFILES_DYNAMIC += " \
|
||||||
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
|
||||||
|
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
|
||||||
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
|
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bb \
|
||||||
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
|
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4
|
|||||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}"
|
PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}"
|
||||||
PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
||||||
PREFERRED_PROVIDER_virtual/mesa ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
PREFERRED_PROVIDER_virtual/mesa ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
||||||
PREFERRED_PROVIDER_libgbm ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
PREFERRED_PROVIDER_virtual/libgbm ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
|
||||||
PREFERRED_PROVIDER_jpeg ?= "jpeg"
|
PREFERRED_PROVIDER_jpeg ?= "jpeg"
|
||||||
|
|||||||
@@ -2,5 +2,11 @@
|
|||||||
#@NAME: RaspberryPi Compute Module 3 (CM3)
|
#@NAME: RaspberryPi Compute Module 3 (CM3)
|
||||||
#@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module 3 (CM3)
|
#@DESCRIPTION: Machine configuration for the RaspberryPi Compute Module 3 (CM3)
|
||||||
|
|
||||||
MACHINEOVERRIDES = "raspberrypi3:${MACHINE}"
|
DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
|
||||||
include conf/machine/raspberrypi3.conf
|
require conf/machine/include/tune-cortexa7.inc
|
||||||
|
include conf/machine/include/rpi-base.inc
|
||||||
|
|
||||||
|
KBUILD_DEFCONFIG ?= "bcm2709_defconfig"
|
||||||
|
SDIMG_KERNELIMAGE ?= "kernel7.img"
|
||||||
|
UBOOT_MACHINE = "rpi_3_32b_config"
|
||||||
|
SERIAL_CONSOLES ?= "115200;ttyAMA0"
|
||||||
|
|||||||
@@ -2,37 +2,108 @@
|
|||||||
|
|
||||||
## Mailing list
|
## Mailing list
|
||||||
|
|
||||||
The main communication tool we use is a mailing list:
|
The main communication tool in use is the Yocto Project mailing list:
|
||||||
|
|
||||||
* <yocto@yoctoproject.org>
|
* <yocto@yoctoproject.org>
|
||||||
* <https://lists.yoctoproject.org/listinfo/yocto>
|
* <https://lists.yoctoproject.org/listinfo/yocto>
|
||||||
|
|
||||||
Feel free to ask any kind of questions but always prepend your email subject
|
Feel free to ask any kind of questions but please always prepend your email
|
||||||
with "[meta-raspberrypi]". This is because we use the 'yocto' mailing list and
|
subject with `[meta-raspberrypi]` as this is the global *Yocto* mailing
|
||||||
not a perticular 'meta-raspberrypi' mailing list.
|
list and not a dedicated *meta-raspberrypi* mailing list.
|
||||||
|
|
||||||
## Patches and pull requests
|
## Formatting patches
|
||||||
|
|
||||||
All the contributions should be compliant with the openembedded patch
|
First and foremost, all of the contributions to the layer must be compliant
|
||||||
guidelines: <http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines>
|
with the standard openembedded patch guidelines:
|
||||||
|
|
||||||
To contribute to this project you should send pull requests to the github mirror
|
* <http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines>
|
||||||
(<https://github.com/agherzan/meta-raspberrypi>). **Additionally** you can send
|
|
||||||
the patches for review to the above specified mailing list.
|
|
||||||
|
|
||||||
When creating patches for the mailing list, please use something like:
|
In summary, your commit log messages should be formatted as follows:
|
||||||
|
|
||||||
|
<layer-component>: <short log/statement of what needed to be changed>
|
||||||
|
|
||||||
|
(Optional pointers to external resources, such as defect tracking)
|
||||||
|
|
||||||
|
The intent of your change.
|
||||||
|
|
||||||
|
(Optional: if it's not clear from above, how your change resolves
|
||||||
|
the issues in the first part)
|
||||||
|
|
||||||
|
Signed-off-by: Your Name <yourname@youremail.com>
|
||||||
|
|
||||||
|
The `<layer-component>` is the layer component name that your changes affect.
|
||||||
|
It is important that you choose it correctly. A simple guide for selecting a
|
||||||
|
a good component name is the following:
|
||||||
|
|
||||||
|
* For changes that affect *layer recipes*, please just use the **base names**
|
||||||
|
of the affected recipes, separated by commas (`,`), as the component name.
|
||||||
|
For example: use `omxplayer` instead of `omxplayer_git.bb`. If you are
|
||||||
|
adding new recipe(s), just use the new recipe(s) base name(s). An example
|
||||||
|
for changes to multiple recipes would be `userland,vc-graphics,wayland`.
|
||||||
|
* For changes that affect the *layer documentation*, please just use `docs`
|
||||||
|
as the component name.
|
||||||
|
* For changes that affect *other files*, i.e. under the `conf` directory,
|
||||||
|
please use the full path as the component name, e.g. `conf/layer.conf`.
|
||||||
|
* For changes that affect the *layer itself* and do not fall into any of
|
||||||
|
the above cases, please use `meta-raspberrypi` as the component name.
|
||||||
|
|
||||||
|
A full example of a suitable commit log message is below:
|
||||||
|
|
||||||
|
foobar: Adjusted the foo setting in bar
|
||||||
|
|
||||||
|
When using foobar on systems with less than a gigabyte of RAM common
|
||||||
|
usage patterns often result in an Out-of-memory condition causing
|
||||||
|
slowdowns and unexpected application termination.
|
||||||
|
|
||||||
|
Low-memory systems should continue to function without running into
|
||||||
|
memory-starvation conditions with minimal cost to systems with more
|
||||||
|
available memory. High-memory systems will be less able to use the
|
||||||
|
full extent of the system, a dynamically tunable option may be best,
|
||||||
|
long-term.
|
||||||
|
|
||||||
|
The foo setting in bar was decreased from X to X-50% in order to
|
||||||
|
ensure we don't exhaust all system memory with foobar threads.
|
||||||
|
|
||||||
|
Signed-off-by: Joe Developer <joe.developer@example.com>
|
||||||
|
|
||||||
|
A common issue during patch reviewing is commit log formatting, please review
|
||||||
|
the above formatting guidelines carefully before sending your patches.
|
||||||
|
|
||||||
|
## Sending patches
|
||||||
|
|
||||||
|
The preferred method to contribute to this project is to send pull
|
||||||
|
requests to the GitHub mirror of the layer:
|
||||||
|
|
||||||
|
* <https://github.com/agherzan/meta-raspberrypi>
|
||||||
|
|
||||||
|
**In addition**, you may send patches for review to the above specified
|
||||||
|
mailing list. In this case, when creating patches using `git` please make
|
||||||
|
sure to use the following formatting for the message subject:
|
||||||
|
|
||||||
git format-patch -s --subject-prefix='meta-raspberrypi][PATCH' origin
|
git format-patch -s --subject-prefix='meta-raspberrypi][PATCH' origin
|
||||||
|
|
||||||
When sending patches to the mailing list, please use something like:
|
Then, for sending patches to the mailing list, you may use this command:
|
||||||
|
|
||||||
git send-email --to yocto@yoctoproject.org <generated patch>
|
git send-email --to yocto@yoctoproject.org <generated patch>
|
||||||
|
|
||||||
## Github issues
|
## GitHub issues
|
||||||
|
|
||||||
In order to manage and trace the meta-raspberrypi issues, we use github issues:
|
In order to manage and track the layer issues more efficiently, the
|
||||||
<https://github.com/agherzan/meta-raspberrypi/issues>
|
GitHub issues facility is used by this project:
|
||||||
|
|
||||||
|
* <https://github.com/agherzan/meta-raspberrypi/issues>
|
||||||
|
|
||||||
|
If you submit patches that have a GitHub issue associated, please make sure to
|
||||||
|
use standard GitHub keywords, e.g. `closes`, `resolves` or `fixes`, before the
|
||||||
|
"Signed-off-by" tag to close the relevant issues automatically:
|
||||||
|
|
||||||
|
foobar: Adjusted the foo setting in bar
|
||||||
|
|
||||||
|
Fixes: #324
|
||||||
|
|
||||||
|
Signed-off-by: Joe Developer <joe.developer@example.com>
|
||||||
|
|
||||||
|
More information on the available GitHub close keywords can be found here:
|
||||||
|
|
||||||
|
* <https://help.github.com/articles/closing-issues-using-keywords>
|
||||||
|
|
||||||
If you push patches which have a github issue associated, please provide the
|
|
||||||
issue number in the commit log just before "Signed-off-by" line(s). Example line
|
|
||||||
for a bug:
|
|
||||||
`[Issue #13]`
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
* raspberrypi3
|
* raspberrypi3
|
||||||
* raspberrypi3-64 (64 bit kernel & userspace)
|
* raspberrypi3-64 (64 bit kernel & userspace)
|
||||||
* raspberrypi-cm (dummy alias for raspberrypi)
|
* raspberrypi-cm (dummy alias for raspberrypi)
|
||||||
* raspberrypi-cm3 (dummy alias for raspberrypi2)
|
* raspberrypi-cm3
|
||||||
|
|
||||||
Note: The raspberrypi3 machines include support for Raspberry Pi 3B+.
|
Note: The raspberrypi3 machines include support for Raspberry Pi 3B+.
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
RDEPENDS_packagegroup-meta-oe-kernel_remove_rpi = "bpftool"
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# remove it when we upgrade to kernel > 4.14
|
||||||
|
#
|
||||||
|
COMPATIBLE_HOST_rpi = "null"
|
||||||
@@ -1,18 +1,17 @@
|
|||||||
PACKAGECONFIG_GL_rpi = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gl', \
|
PACKAGECONFIG_GL_rpi = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gl', \
|
||||||
bb.utils.contains('DISTRO_FEATURES', 'opengl', 'eglfs gles2 linuxfb', \
|
bb.utils.contains('DISTRO_FEATURES', 'opengl', 'eglfs gles2', \
|
||||||
'', d), d)}"
|
'', d), d)}"
|
||||||
#PACKAGECONFIG_GL_rpi = "${@bb.utils.any_distro_features('x11 wayland', '', 'eglfs', d)}"
|
PACKAGECONFIG_GL_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', ' gbm kms', '', d)}"
|
||||||
PACKAGECONFIG_FONTS_rpi = "fontconfig"
|
PACKAGECONFIG_FONTS_rpi = "fontconfig"
|
||||||
PACKAGECONFIG_append_rpi = " libinput examples tslib xkb xkbcommon-evdev"
|
PACKAGECONFIG_append_rpi = " libinput examples tslib xkb xkbcommon-evdev"
|
||||||
PACKAGECONFIG_remove_rpi = "tests"
|
PACKAGECONFIG_remove_rpi = "tests"
|
||||||
|
|
||||||
OE_QTBASE_EGLFS_DEVICE_INTEGRATION_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'eglfs_kms', 'eglfs_brcm', d)}"
|
OE_QTBASE_EGLFS_DEVICE_INTEGRATION_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'eglfs_brcm', d)}"
|
||||||
|
|
||||||
do_configure_prepend_rpi() {
|
do_configure_prepend_rpi() {
|
||||||
# Add the appropriate EGLFS_DEVICE_INTEGRATION
|
# Add the appropriate EGLFS_DEVICE_INTEGRATION
|
||||||
if [ "${@d.getVar('OE_QTBASE_EGLFS_DEVICE_INTEGRATION')}" != "" ]; then
|
if [ "${@d.getVar('OE_QTBASE_EGLFS_DEVICE_INTEGRATION')}" != "" ]; then
|
||||||
echo "EGLFS_DEVICE_INTEGRATION = ${OE_QTBASE_EGLFS_DEVICE_INTEGRATION}" > ${S}/mkspecs/oe-device-extra.pri
|
echo "EGLFS_DEVICE_INTEGRATION = ${OE_QTBASE_EGLFS_DEVICE_INTEGRATION}" >> ${S}/mkspecs/oe-device-extra.pri
|
||||||
echo "QT_QPA_DEFAULT_PLATFORM = eglfs" >> ${S}/mkspecs/oe-device-extra.pri
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
RDEPENDS_${PN}_append_rpi = " userland"
|
RDEPENDS_${PN}_append_rpi = " userland"
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ do_deploy() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Append extra config if the user has provided any
|
# Append extra config if the user has provided any
|
||||||
echo "${RPI_EXTRA_CONFIG}" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
printf "${RPI_EXTRA_CONFIG}\n" >> ${DEPLOYDIR}/bcm2835-bootfiles/config.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
do_deploy_append_raspberrypi3-64() {
|
do_deploy_append_raspberrypi3-64() {
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
RPIFW_DATE ?= "20180924"
|
RPIFW_DATE ?= "20190212"
|
||||||
SRCREV ?= "5b49caa17e91d0e64024380119ad739bb201c674"
|
SRCREV ?= "83977fe3b6ef54c1d29c83b0a778d330f523441f"
|
||||||
RPIFW_SRC_URI ?= "https://github.com/raspberrypi/firmware/archive/${SRCREV}.tar.gz"
|
RPIFW_SRC_URI ?= "https://github.com/raspberrypi/firmware/archive/${SRCREV}.tar.gz"
|
||||||
RPIFW_S ?= "${WORKDIR}/firmware-${SRCREV}"
|
RPIFW_S ?= "${WORKDIR}/firmware-${SRCREV}"
|
||||||
|
|
||||||
SRC_URI = "${RPIFW_SRC_URI}"
|
SRC_URI = "${RPIFW_SRC_URI}"
|
||||||
SRC_URI[md5sum] = "51352972a029c6f47bde6d302b69440e"
|
SRC_URI[md5sum] = "5ccdb5447cbdd3ee0158a514f7b76cb9"
|
||||||
SRC_URI[sha256sum] = "d1f9c58957dfe681fff7e1cf1eabb9e0f6fdc99720f1d059fb24a37750573310"
|
SRC_URI[sha256sum] = "9a34ccc4a51695a33206cc6c8534f615ba5a30fcbce5fa3add400ecc6b80ad8a"
|
||||||
|
|
||||||
|
|
||||||
PV = "${RPIFW_DATE}"
|
PV = "${RPIFW_DATE}"
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||||
SPLASH_IMAGES_append_rpi = " file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"
|
SPLASH_IMAGES_append_rpi = " file://psplash-raspberrypi-img.h;outsuffix=raspberrypi"
|
||||||
ALTERNATIVE_PRIORITY_psplash-raspberrypi[psplash] = "10"
|
ALTERNATIVE_PRIORITY_psplash-raspberrypi[psplash] = "200"
|
||||||
|
|
||||||
|
|||||||
16
recipes-devtools/raspi-gpio/raspi-gpio_git.bb
Normal file
16
recipes-devtools/raspi-gpio/raspi-gpio_git.bb
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
DESCRIPTION = "Tool to help debug / hack at the BCM283x GPIO"
|
||||||
|
HOMEPAGE = "https://github.com/RPi-Distro/raspi-gpio"
|
||||||
|
SECTION = "devel/libs"
|
||||||
|
LICENSE = "BSD-3-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a14affa234debc057b47cdca615b2192"
|
||||||
|
|
||||||
|
COMPATIBLE_MACHINE = "^rpi$"
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
SRCREV = "2df7b8684e2e36b080cda315d78d5ba16f8f18b0"
|
||||||
|
SRC_URI = "git://github.com/RPi-Distro/raspi-gpio.git;protocol=https;branch=master \
|
||||||
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
@@ -1,27 +1,33 @@
|
|||||||
From 9a47fd5da546d148886c8890cd48249ebe826948 Mon Sep 17 00:00:00 2001
|
From 32f3cad3c41161693659a902062fa0c01c0338ed Mon Sep 17 00:00:00 2001
|
||||||
From: Daniel Rank <dwrank@gmail.com>
|
From: ErikHH <erik.hoogeveen@outlook.com>
|
||||||
Date: Wed, 1 Aug 2018 23:32:00 -0700
|
Date: Thu, 20 Dec 2018 15:33:45 +0100
|
||||||
Subject: [PATCH] Add initial cross compile support
|
Subject: [PATCH 1/1] Add initial cross compile support
|
||||||
|
|
||||||
Upstream-Status: Pending
|
|
||||||
Signed-off-by: Daniel Rank <dwrank@gmail.com>
|
|
||||||
|
|
||||||
|
Signed-off-by: ErikHH <erik.hoogeveen@outlook.com>
|
||||||
---
|
---
|
||||||
devLib/Makefile | 54 +++++++++++++++++++++++++--------------------
|
devLib/Makefile | 55 +++++++++++++++++++++----------------
|
||||||
examples/Gertboard/Makefile | 22 +++++++++++-------
|
examples/Gertboard/Makefile | 22 +++++++++------
|
||||||
examples/Makefile | 22 +++++++++++-------
|
examples/Makefile | 22 +++++++++------
|
||||||
examples/PiFace/Makefile | 22 +++++++++++-------
|
examples/PiFace/Makefile | 22 +++++++++------
|
||||||
examples/PiGlow/Makefile | 4 ++--
|
examples/PiGlow/Makefile | 4 +--
|
||||||
examples/q2w/Makefile | 4 ++--
|
examples/q2w/Makefile | 4 +--
|
||||||
gpio/Makefile | 29 ++++++++++++------------
|
gpio/Makefile | 29 +++++++++----------
|
||||||
wiringPi/Makefile | 46 +++++++++++++++++++++-----------------
|
wiringPi/Makefile | 47 +++++++++++++++++--------------
|
||||||
8 files changed, 117 insertions(+), 86 deletions(-)
|
8 files changed, 119 insertions(+), 86 deletions(-)
|
||||||
|
|
||||||
diff --git a/devLib/Makefile b/devLib/Makefile
|
diff --git a/devLib/Makefile b/devLib/Makefile
|
||||||
index cf665d6..040c03a 100644
|
index cf665d6..d193a9d 100644
|
||||||
--- a/devLib/Makefile
|
--- a/devLib/Makefile
|
||||||
+++ b/devLib/Makefile
|
+++ b/devLib/Makefile
|
||||||
@@ -31,15 +31,19 @@ ifneq ($V,1)
|
@@ -22,6 +22,7 @@
|
||||||
|
#################################################################################
|
||||||
|
|
||||||
|
VERSION=$(shell cat ../VERSION)
|
||||||
|
+DYN_VERS_MAJ=$(word 1,$(subst ., ,$(VERSION)))
|
||||||
|
DESTDIR?=/usr
|
||||||
|
PREFIX?=/local
|
||||||
|
|
||||||
|
@@ -31,15 +32,19 @@ ifneq ($V,1)
|
||||||
Q ?= @
|
Q ?= @
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -49,7 +55,7 @@ index cf665d6..040c03a 100644
|
|||||||
|
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
@@ -68,16 +72,16 @@ $(STATIC): $(OBJ)
|
@@ -68,16 +73,16 @@ $(STATIC): $(OBJ)
|
||||||
|
|
||||||
$(DYNAMIC): $(OBJ)
|
$(DYNAMIC): $(OBJ)
|
||||||
$Q echo "[Link (Dynamic)]"
|
$Q echo "[Link (Dynamic)]"
|
||||||
@@ -69,7 +75,7 @@ index cf665d6..040c03a 100644
|
|||||||
|
|
||||||
.PHONY: tags
|
.PHONY: tags
|
||||||
tags: $(SRC)
|
tags: $(SRC)
|
||||||
@@ -88,22 +92,22 @@ tags: $(SRC)
|
@@ -88,22 +93,22 @@ tags: $(SRC)
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: $(DYNAMIC)
|
install: $(DYNAMIC)
|
||||||
$Q echo "[Install Headers]"
|
$Q echo "[Install Headers]"
|
||||||
@@ -102,7 +108,7 @@ index cf665d6..040c03a 100644
|
|||||||
|
|
||||||
.PHONY: install-deb
|
.PHONY: install-deb
|
||||||
install-deb: $(DYNAMIC)
|
install-deb: $(DYNAMIC)
|
||||||
@@ -118,9 +122,11 @@ install-deb: $(DYNAMIC)
|
@@ -118,9 +123,11 @@ install-deb: $(DYNAMIC)
|
||||||
.PHONY: uninstall
|
.PHONY: uninstall
|
||||||
uninstall:
|
uninstall:
|
||||||
$Q echo "[UnInstall]"
|
$Q echo "[UnInstall]"
|
||||||
@@ -306,10 +312,14 @@ index 9ec160d..a294242 100644
|
|||||||
|
|
||||||
.PHONY: depend
|
.PHONY: depend
|
||||||
diff --git a/wiringPi/Makefile b/wiringPi/Makefile
|
diff --git a/wiringPi/Makefile b/wiringPi/Makefile
|
||||||
index 287fa58..670a6db 100644
|
index 287fa58..3423d3f 100644
|
||||||
--- a/wiringPi/Makefile
|
--- a/wiringPi/Makefile
|
||||||
+++ b/wiringPi/Makefile
|
+++ b/wiringPi/Makefile
|
||||||
@@ -25,22 +25,26 @@ VERSION=$(shell cat ../VERSION)
|
@@ -22,25 +22,30 @@
|
||||||
|
#################################################################################
|
||||||
|
|
||||||
|
VERSION=$(shell cat ../VERSION)
|
||||||
|
+DYN_VERS_MAJ=$(word 1,$(subst ., ,$(VERSION)))
|
||||||
DESTDIR?=/usr
|
DESTDIR?=/usr
|
||||||
PREFIX?=/local
|
PREFIX?=/local
|
||||||
|
|
||||||
@@ -344,7 +354,7 @@ index 287fa58..670a6db 100644
|
|||||||
|
|
||||||
LIBS = -lm -lpthread -lrt -lcrypt
|
LIBS = -lm -lpthread -lrt -lcrypt
|
||||||
|
|
||||||
@@ -75,17 +79,17 @@ static:
|
@@ -75,17 +80,17 @@ static:
|
||||||
|
|
||||||
$(DYNAMIC): $(OBJ)
|
$(DYNAMIC): $(OBJ)
|
||||||
$Q echo "[Link (Dynamic)]"
|
$Q echo "[Link (Dynamic)]"
|
||||||
@@ -365,7 +375,7 @@ index 287fa58..670a6db 100644
|
|||||||
|
|
||||||
.PHONY: tags
|
.PHONY: tags
|
||||||
tags: $(SRC)
|
tags: $(SRC)
|
||||||
@@ -96,13 +100,13 @@ tags: $(SRC)
|
@@ -96,13 +101,13 @@ tags: $(SRC)
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: $(DYNAMIC)
|
install: $(DYNAMIC)
|
||||||
$Q echo "[Install Headers]"
|
$Q echo "[Install Headers]"
|
||||||
@@ -385,7 +395,7 @@ index 287fa58..670a6db 100644
|
|||||||
|
|
||||||
.PHONY: install-deb
|
.PHONY: install-deb
|
||||||
install-deb: $(DYNAMIC)
|
install-deb: $(DYNAMIC)
|
||||||
@@ -117,9 +121,11 @@ install-deb: $(DYNAMIC)
|
@@ -117,9 +122,11 @@ install-deb: $(DYNAMIC)
|
||||||
.PHONY: uninstall
|
.PHONY: uninstall
|
||||||
uninstall:
|
uninstall:
|
||||||
$Q echo "[UnInstall]"
|
$Q echo "[UnInstall]"
|
||||||
@@ -401,5 +411,5 @@ index 287fa58..670a6db 100644
|
|||||||
|
|
||||||
.PHONY: depend
|
.PHONY: depend
|
||||||
--
|
--
|
||||||
2.7.4
|
2.19.1
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196"
|
|||||||
|
|
||||||
PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}"
|
PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}"
|
||||||
|
|
||||||
RPROVIDES_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl", d)}"
|
RPROVIDES_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}"
|
||||||
COMPATIBLE_MACHINE = "^rpi$"
|
COMPATIBLE_MACHINE = "^rpi$"
|
||||||
|
|
||||||
SRCBRANCH = "master"
|
SRCBRANCH = "master"
|
||||||
@@ -91,4 +91,4 @@ FILES_${PN}-dbg += "${libdir}/plugins/.debug"
|
|||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
RDEPENDS_${PN} += "bash"
|
RDEPENDS_${PN} += "bash"
|
||||||
RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl", "", d)}"
|
RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ LIC_FILES_CHKSUM = "\
|
|||||||
NO_GENERIC_LICENSE[Firmware-cypress-rpidistro] = "LICENCE.cypress-rpidistro"
|
NO_GENERIC_LICENSE[Firmware-cypress-rpidistro] = "LICENCE.cypress-rpidistro"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/RPi-Distro/bluez-firmware"
|
SRC_URI = "git://github.com/RPi-Distro/bluez-firmware"
|
||||||
SRCREV = "ade2bae1aaaebede09abb8fb546f767a0e4c7804"
|
SRCREV = "96eefffcccc725425fd83be5e0704a5c32b79e54"
|
||||||
PV = "0.0+git${SRCPV}"
|
PV = "0.0+git${SRCPV}"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
9
recipes-kernel/linux/linux-raspberrypi-rt_4.14.bb
Normal file
9
recipes-kernel/linux/linux-raspberrypi-rt_4.14.bb
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
LINUX_VERSION ?= "4.14.81"
|
||||||
|
|
||||||
|
SRCREV = "acf578d07d57480674d5361df9171fe9528765cb"
|
||||||
|
SRC_URI = " \
|
||||||
|
git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y-rt \
|
||||||
|
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
require linux-raspberrypi.inc
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
LINUX_VERSION ?= "4.14.79"
|
LINUX_VERSION ?= "4.14.112"
|
||||||
|
|
||||||
SRCREV = "9ca74c53cbda1f104bce3b33850fd3bf33eb3793"
|
SRCREV = "6b5c4a2508403839af29ef44059d04acbe0ee204"
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y \
|
git://github.com/raspberrypi/linux.git;branch=rpi-4.14.y \
|
||||||
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
|
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
|
||||||
|
|||||||
Reference in New Issue
Block a user