diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2012-07-23 13:50:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-26 14:40:47 +0100 |
commit | 32ed8db1315d02ec3d9080999a9ad4d4ed1b9fe3 (patch) | |
tree | 59e85572cafedd226f0a4df594cb7c2ed2272bdb /meta | |
parent | 171cb4683015fd362236ed5f597310e7950e1f70 (diff) | |
download | poky-32ed8db1315d02ec3d9080999a9ad4d4ed1b9fe3.tar.gz |
remake: Add remake-native and remake
remake is a patched version of GNU Make that adds improved error
reporting, the ability to trace execution in a comprehensible way,
and a debugger.
[YOCTO #2402]
(From OE-Core rev: 823fab378bd46da6a296a67f981dffb31b1c8061)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/remake/remake.inc | 16 | ||||
-rw-r--r-- | meta/recipes-devtools/remake/remake/version-remake.texi.patch | 16 | ||||
-rw-r--r-- | meta/recipes-devtools/remake/remake_git.bb | 25 |
3 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-devtools/remake/remake.inc b/meta/recipes-devtools/remake/remake.inc new file mode 100644 index 0000000000..6ac833efd5 --- /dev/null +++ b/meta/recipes-devtools/remake/remake.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Makefile debugger which is gnumake 3.81 compatible" | ||
2 | DESCRIPTION = "remake is a patched and modernized version of GNU make \ | ||
3 | utility that adds improved error reporting, the ability to trace \ | ||
4 | execution in a comprehensible way, and a debugger." | ||
5 | |||
6 | HOMEPAGE = "http://bashdb.sourceforge.net/remake/" | ||
7 | SECTION = "devel" | ||
8 | |||
9 | SRC_URI = "git://github.com/rocky/remake.git" | ||
10 | |||
11 | inherit autotools gettext update-alternatives | ||
12 | |||
13 | ALTERNATIVE_${PN} = "make" | ||
14 | ALTERNATIVE_LINK_NAME[make] = "${bindir}/make" | ||
15 | ALTERNATIVE_TARGET[make] = "${bindir}/remake" | ||
16 | ALTERNATIVE_PRIORITY = "100" | ||
diff --git a/meta/recipes-devtools/remake/remake/version-remake.texi.patch b/meta/recipes-devtools/remake/remake/version-remake.texi.patch new file mode 100644 index 0000000000..fa6329e067 --- /dev/null +++ b/meta/recipes-devtools/remake/remake/version-remake.texi.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | version-remake.texi is not there but it is required by remake.texi, | ||
4 | just add it for getting the 'make remake.info' works. | ||
5 | |||
6 | ============================================================== | ||
7 | diff --git a/doc/version-remake.texi b/doc/version-remake.texi | ||
8 | new file mode 100644 | ||
9 | index 0000000..2a3b72b | ||
10 | --- /dev/null | ||
11 | +++ b/doc/version-remake.texi | ||
12 | @@ -0,0 +1,4 @@ | ||
13 | +@set UPDATED 10 June 2012 | ||
14 | +@set UPDATED-MONTH June 2012 | ||
15 | +@set EDITION 3.82+dbg-0.9git | ||
16 | +@set VERSION 3.82+dbg-0.9git | ||
diff --git a/meta/recipes-devtools/remake/remake_git.bb b/meta/recipes-devtools/remake/remake_git.bb new file mode 100644 index 0000000000..7e9857e972 --- /dev/null +++ b/meta/recipes-devtools/remake/remake_git.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | PR = "r0" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
4 | file://tests/COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
5 | file://glob/COPYING.LIB;md5=4a770b67e6be0f60da244beb2de0fce4" | ||
6 | require remake.inc | ||
7 | |||
8 | SRC_URI += "file://version-remake.texi.patch" | ||
9 | SRCREV = "414d6e84121c6740ff5079370c905dea0f0e1ddb" | ||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | DEPENDS += "readline" | ||
13 | PROVIDES += "make" | ||
14 | |||
15 | do_configure_prepend() { | ||
16 | # create config.rpath which required by configure.ac | ||
17 | autopoint || touch config.rpath | ||
18 | } | ||
19 | |||
20 | do_compile_prepend() { | ||
21 | # updating .po and other gnu build files | ||
22 | make update | ||
23 | } | ||
24 | |||
25 | BBCLASSEXTEND = "native" | ||