diff options
author | Raymond Danks <ray.danks@se-eng.com> | 2012-06-21 15:25:56 -0600 |
---|---|---|
committer | Raymond Danks <ray.danks@se-eng.com> | 2012-06-21 15:25:56 -0600 |
commit | 5323ad54237bd038add09256018465d61d71bfd2 (patch) | |
tree | 319635dd4616fc62b2732b212d6db2e2561ad4ec /recipes-extended/dev86 | |
parent | 1ea935ec59222dcaf1218162f0afc663875438fb (diff) | |
download | meta-virtualization-5323ad54237bd038add09256018465d61d71bfd2.tar.gz |
dev86: New package required for xen build.
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
Diffstat (limited to 'recipes-extended/dev86')
-rw-r--r-- | recipes-extended/dev86/dev86_0.16.18.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-extended/dev86/dev86_0.16.18.bb b/recipes-extended/dev86/dev86_0.16.18.bb new file mode 100644 index 00000000..759068a0 --- /dev/null +++ b/recipes-extended/dev86/dev86_0.16.18.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | DESCRIPTION = "This is a cross development C compiler, assembler and linker environment for the production of 8086 executables (Optionally MSDOS COM)" | ||
2 | HOMEPAGE = "http://www.debath.co.uk/dev86/" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
5 | SECTION = "console/tools" | ||
6 | PR="r0" | ||
7 | |||
8 | SRC_URI="http://www.debath.co.uk/dev86/Dev86src-${PV}.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "f2e06b547397383b2b2650b9c4fd9bab" | ||
11 | SRC_URI[sha256sum] = "049852a83898d3ee0ba97b88e526897ec6eaf0a051f4af1e9e073b1151178ff1" | ||
12 | |||
13 | S = "${WORKDIR}/dev86-${PV}" | ||
14 | |||
15 | NATIVE_INSTALL_WORKS = "1" | ||
16 | BBCLASSEXTEND = "native" | ||
17 | |||
18 | do_compile() { | ||
19 | |||
20 | ${MAKE} VERSION=${PV} PREFIX=${prefix} DIST=${D} make.fil | ||
21 | ${MAKE} -f make.fil VERSION=${PV} bcc86 as86 ld86 | ||
22 | |||
23 | } | ||
24 | |||
25 | do_install() { | ||
26 | |||
27 | if [ "${prefix}"=="" ] ; then | ||
28 | export prefix=/usr | ||
29 | fi | ||
30 | |||
31 | ${MAKE} PREFIX=${prefix} DIST=${D} install-bcc | ||
32 | ln -s ../lib/bcc/bcc-cpp ${D}${prefix}/bin/bcc-cpp | ||
33 | ln -s ../lib/bcc/bcc-cc1 ${D}${prefix}/bin/bcc-cc1 | ||
34 | |||
35 | } | ||
36 | |||
37 | |||