Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SRC_URI = "git://gitrepo;protocol=ssh;branch=master \
- file://gcom.service \
- "
- SRCREV = "1f5d40be75ff5e7fa16e9b119bf67960be55accf"
- LNX_DIR = "${WORKDIR}/git/linux"
- inherit systemd
- SYSTEMD_PACKAGES = "${PN}"
- SYSTEMD_SERVICE_${PN} = " gcom.service"
- FILES_${PN} += " gcom.service \
- "
- do_configure() {
- }
- do_compile() {
- cd ${LNX_DIR} && oe_runmake 'CC=${CC}' all
- }
- do_install() {
- install -m 755 -d ${D}${sysconfdir}
- install -d ${D}/${libdir}
- incdir="usr/include"
- install -d ${D}/${incdir}
- install -d ${D}${systemd_system_unitdir}
- install -m 644 ${WORKDIR}/gcom.service ${D}${systemd_system_unitdir}/gcom.service
- }
- INSANE_SKIP_${PN} = "ldflags"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement