Last active
August 29, 2015 13:59
-
-
Save kergoth/10510368 to your computer and use it in GitHub Desktop.
Working on splitting up meta-sourcery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total 560K | |
-rw-r--r-- 2 clarson esd_ea 240K Apr 11 16:12 gdbserver_7.7.50.20140217-cvs-r0_i586.ipk | |
-rw-r--r-- 2 clarson esd_ea 306K Apr 11 16:12 gdbserver-dbg_7.7.50.20140217-cvs-r0_i586.ipk | |
-rw-r--r-- 2 clarson esd_ea 758 Apr 11 16:12 gdbserver-dev_7.7.50.20140217-cvs-r0_i586.ipk | |
-rw-r--r-- 2 clarson esd_ea 5.7K Apr 11 16:12 gdbserver-doc_7.7.50.20140217-cvs-r0_i586.ipk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Package: gdbserver | |
Version: 7.7.50.20140217-cvs-r0 | |
Description: gdb - GNU debugger | |
gdb - GNU debugger | |
Section: devel | |
Priority: optional | |
Maintainer: Poky <poky@yoctoproject.org> | |
License: GPLv3+ | |
Architecture: i586 | |
OE: gdbserver-external | |
Homepage: http://www.gnu.org/software/gdb/ | |
Source: None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUMMARY = "gdb - GNU debugger" | |
HOMEPAGE = "http://www.gnu.org/software/gdb/" | |
SECTION = "devel" | |
PV = "${@external_run(d, 'gdb', '-v').splitlines()[0].split()[-1]}" | |
PV[vardepvalue] = "${PV}" | |
inherit external-toolchain | |
def get_gdb_license(d): | |
output = external_run(d, 'gdb', '-v') | |
if output != 'UNKNOWN': | |
for line in output.splitlines(): | |
if line.startswith('License '): | |
lic = line.split(':', 1)[0] | |
return lic.replace('License ', '') | |
else: | |
return output | |
LICENSE = "${@get_gdb_license(d)}" | |
LICENSE[vardepvalue] = "${LICENSE}" | |
FILES_${PN} = "${bindir}/gdbserver ${datadir}/gdb" | |
FILES_${PN}-dbg = "${bindir}/.debug/gdbserver.debug" | |
FILES_${PN}-doc = "${mandir}/man1/gdbserver.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment