Merge remote-tracking branch 'remotes/origin/fct' into sumo-fct
This commit is contained in:
commit
b2f639b9eb
|
|
@ -0,0 +1,8 @@
|
||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: BeagleBone machine
|
||||||
|
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||||
|
|
||||||
|
require conf/machine/am335x-nbhw16.conf
|
||||||
|
|
||||||
|
KERNEL_DEFCONFIG = "nbhw16_fct_defconfig"
|
||||||
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: BeagleBone machine
|
||||||
|
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/bone board
|
||||||
|
|
||||||
|
require conf/machine/am335x-nrhw20.conf
|
||||||
|
|
||||||
|
KERNEL_DEFCONFIG = "am335x-nrhw20-fct_defconfig"
|
||||||
|
|
||||||
|
|
@ -46,3 +46,7 @@ SYSTEMD_SERVICE_${PN} = "ModemManager.service"
|
||||||
do_install_append_am335x-nbhw16-fct() {
|
do_install_append_am335x-nbhw16-fct() {
|
||||||
sed -i 's/ExecStart=.*/ExecStart=\/usr\/sbin\/ModemManager --debug/g' ${D}/lib/systemd/system/ModemManager.service
|
sed -i 's/ExecStart=.*/ExecStart=\/usr\/sbin\/ModemManager --debug/g' ${D}/lib/systemd/system/ModemManager.service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append_am335x-nrhw20-fct() {
|
||||||
|
sed -i 's/ExecStart=.*/ExecStart=\/usr\/sbin\/ModemManager --debug/g' ${D}/lib/systemd/system/ModemManager.service
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,3 +44,8 @@ SYSTEMD_SERVICE_${PN} = "ModemManager.service"
|
||||||
do_install_append_am335x-nbhw16-fct() {
|
do_install_append_am335x-nbhw16-fct() {
|
||||||
sed -i 's/ExecStart=.*/ExecStart=\/usr\/sbin\/ModemManager --debug/g' ${D}/lib/systemd/system/ModemManager.service
|
sed -i 's/ExecStart=.*/ExecStart=\/usr\/sbin\/ModemManager --debug/g' ${D}/lib/systemd/system/ModemManager.service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_append_am335x-nrhw20-fct() {
|
||||||
|
sed -i 's/ExecStart=.*/ExecStart=\/usr\/sbin\/ModemManager --debug/g' ${D}/lib/systemd/system/ModemManager.service
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
[device]
|
||||||
|
wifi.scan-rand-mac-address=no
|
||||||
Binary file not shown.
|
|
@ -26,7 +26,7 @@ FILES_${PN}_append = " \
|
||||||
/lib \
|
/lib \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_am335x-nbhw16 () {
|
install_nbhw16 () {
|
||||||
install -d ${D}${systemd_unitdir}/system/
|
install -d ${D}${systemd_unitdir}/system/
|
||||||
install -m 0644 tibluetooth-nbhw16.service ${D}${systemd_unitdir}/system/tibluetooth.service
|
install -m 0644 tibluetooth-nbhw16.service ${D}${systemd_unitdir}/system/tibluetooth.service
|
||||||
|
|
||||||
|
|
@ -34,7 +34,15 @@ do_install_am335x-nbhw16 () {
|
||||||
install -m 0644 TIInit_11.8.32.bts ${D}/lib/firmware/ti-connectivity/
|
install -m 0644 TIInit_11.8.32.bts ${D}/lib/firmware/ti-connectivity/
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_am335x-nrhw20 () {
|
do_install_am335x-nbhw16 () {
|
||||||
|
install_nbhw16
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install_am335x-nbhw16-fct () {
|
||||||
|
install_nbhw16
|
||||||
|
}
|
||||||
|
|
||||||
|
install_nrhw20 () {
|
||||||
install -d ${D}${systemd_unitdir}/system/
|
install -d ${D}${systemd_unitdir}/system/
|
||||||
install -m 0644 tibluetooth-nrhw20.service ${D}${systemd_unitdir}/system/tibluetooth.service
|
install -m 0644 tibluetooth-nrhw20.service ${D}${systemd_unitdir}/system/tibluetooth.service
|
||||||
|
|
||||||
|
|
@ -42,3 +50,11 @@ do_install_am335x-nrhw20 () {
|
||||||
install -m 0644 TIInit_11.8.32.bts ${D}/lib/firmware/ti-connectivity/
|
install -m 0644 TIInit_11.8.32.bts ${D}/lib/firmware/ti-connectivity/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install_am335x-nrhw20 () {
|
||||||
|
install_nrhw20
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install_am335x-nrhw20-fct () {
|
||||||
|
install_nrhw20
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
DESCRIPTION = "Allow loading of devicetree overlays via configfs"
|
||||||
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
|
inherit module
|
||||||
|
|
||||||
|
PV = "1.0.0"
|
||||||
|
SRCREV ?= "c17c433ef41e8a7ad9f286743a2ae49df64723a8"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/netmodule/dt-overlay.git;protocol=https"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
DESCRIPTION = "Allow loading of devicetree overlays via configfs"
|
||||||
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
|
LICENSE = "GPLv2"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
|
DEPENDS = "dtc-native"
|
||||||
|
|
||||||
|
PV = "1.0.0"
|
||||||
|
SRCREV ?= "de7143db7ec306775dad690fcaa8922202b928dc"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/netmodule/dt-overlays.git;protocol=https"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
dtos = " \
|
||||||
|
am335x-nbhw16-shield-comio-gpio \
|
||||||
|
am335x-nbhw16-shield-dualcan-can \
|
||||||
|
am335x-nbhw16-shield-dualcan-dyngpio \
|
||||||
|
am335x-nbhw16-shield-dualcan-fixgpio \
|
||||||
|
"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
FILES_${PN} += "/lib/firmware"
|
||||||
|
|
||||||
|
do_compile() {
|
||||||
|
for dto in ${dtos}; do
|
||||||
|
dtc -@ -i dts -o dto -o $dto.dtbo $dto.dts
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
install -d ${D}/lib/firmware/
|
||||||
|
for dto in ${dtos}; do
|
||||||
|
install -m 0644 $dto.dtbo ${D}/lib/firmware/
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
SUMMARY = "Device Tree Compiler"
|
||||||
|
DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels."
|
||||||
|
SECTION = "bootloader"
|
||||||
|
LICENSE = "GPLv2 | BSD"
|
||||||
|
DEPENDS = "flex-native bison-native"
|
||||||
|
|
||||||
|
SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
|
||||||
|
file://make_install.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}" DESTDIR="${D}" NO_PYTHON=1'
|
||||||
|
CFLAGS="-Wno-error"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
oe_runmake install
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES =+ "${PN}-misc"
|
||||||
|
FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-misc += "bash"
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
Upstream-Status: Inappropriate [configuration]
|
||||||
|
|
||||||
|
Index: git/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- git.orig/Makefile 2011-11-02 14:52:17.243104779 -0700
|
||||||
|
+++ git/Makefile 2011-11-02 15:06:01.555104982 -0700
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
CPPFLAGS = -I libfdt -I .
|
||||||
|
WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
|
||||||
|
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
|
||||||
|
-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS)
|
||||||
|
+CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) $(WARNINGS)
|
||||||
|
|
||||||
|
BISON = bison
|
||||||
|
LEX = flex
|
||||||
|
@@ -161,8 +161,8 @@
|
||||||
|
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
||||||
|
$(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
|
||||||
|
$(INSTALL) -d $(DESTDIR)$(LIBDIR)
|
||||||
|
- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
|
||||||
|
- ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
|
||||||
|
+ $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
|
||||||
|
+ ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib))
|
||||||
|
ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
|
||||||
|
$(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
|
||||||
|
$(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
require dtc.inc
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||||
|
file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
|
||||||
|
|
||||||
|
SRCREV = "1ae2d185ddda6ca578dce5641a8a39db3117492d"
|
||||||
|
PV = "1.4.5+git${SRCPV}"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
Loading…
Reference in New Issue