Skip to content

Instantly share code, notes, and snippets.

@netskink
Last active August 18, 2016 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netskink/643bdfbc92017b265881e600670ca906 to your computer and use it in GitHub Desktop.
Save netskink/643bdfbc92017b265881e600670ca906 to your computer and use it in GitHub Desktop.
still trying to get a multiple git repot pull working with bitbake
DESCRIPTION = "pcmx bitbake test application"
SECTION = "examples"
LICENSE = "CLOSED"
PR = "r0"
# maybe depends is wrong, orig depened upon opencv
# this will cause the cmake to be build for target which we don't want.
# DEPENDS = "cmake"
#
# PCMX depends upon libpcap-dev. How to add if DEPENDS is not the method?
#
SRCREV = "${AUTOREV}"
SRCREV_FORMAT ?= "d3_d3v16_pcmx"
SRCREV_d3 ?= "${AUTOREV}"
SRCREV_d3v16 ?= "${AUTOREV}"
SRCREV_pcmx ?= "${AUTOREV}"
PV = "1.0.0+git${SRCPV}"
# My goal is to create a src dir like this
# git
# pcmx
# d3
# d3v16
#
# And have the cmake build kick off in the d3 directory.
#
#
# This will create the dir structure above.
SRC_URI = " \
git://ssh@devsupport:22/tfs/DefaultCollection/jfdtesty/_git/d3;protocol=ssh;destsuffix=git/d3 \
git://ssh@devsupport:22/tfs/DefaultCollection/jfdtesty/_git/d3v16;protocol=ssh;destsuffix=git/d3v16 \
git://ssh@devsupport:22/tfs/DefaultCollection/jfdtesty/_git/pcmx;protocol=ssh;destsuffix=git/pcmx \
"
#EXTRA_OECMAKE = " -G 'Unix Makefiles'"
# this is used for copies and install
S = "${WORKDIR}/git/pcmx"
inherit pkgconfig cmake
B="${S}"
do_install() {
# install -d ${D}${bindir}
# # this does not work
# #install -m 0755 ${WORKDIR}/Tutorial ${D}${bindir}
# # this works
# install -m 0755 Tutorial ${D}${bindir}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment