summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-08-13 11:03:06 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-14 11:50:24 -0700
commit786619e5a2cb4058f1e6bebb401f1bb8af7efe12 (patch)
tree07f0ed54ce00594d560043d3cf67e69bb00ff29e /recipes
parent94a9ba7988f0d6586ecaf0b722d6b320cfdf94ae (diff)
libtool: Remove FILESDIR, use INC_PR and FILESPATHPKG
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/libtool/libtool-cross_1.5.10.bb3
-rw-r--r--recipes/libtool/libtool-cross_1.5.22.bb3
-rw-r--r--recipes/libtool/libtool-cross_1.5.24.bb3
-rw-r--r--recipes/libtool/libtool-cross_2.2.4.bb2
-rw-r--r--recipes/libtool/libtool-cross_2.2.6a.bb2
-rw-r--r--recipes/libtool/libtool-native_1.5.10.bb3
-rw-r--r--recipes/libtool/libtool-native_1.5.22.bb3
-rw-r--r--recipes/libtool/libtool-native_1.5.24.bb3
-rw-r--r--recipes/libtool/libtool-native_2.2.4.bb2
-rw-r--r--recipes/libtool/libtool-native_2.2.6a.bb2
-rw-r--r--recipes/libtool/libtool-sdk_1.5.10.bb3
-rw-r--r--recipes/libtool/libtool-sdk_2.2.4.bb4
-rw-r--r--recipes/libtool/libtool-sdk_2.2.6a.bb2
-rw-r--r--recipes/libtool/libtool.inc4
-rw-r--r--recipes/libtool/libtool_1.5.10.bb2
-rw-r--r--recipes/libtool/libtool_1.5.22.bb2
-rw-r--r--recipes/libtool/libtool_1.5.24.bb2
-rw-r--r--recipes/libtool/libtool_1.5.6.bb2
-rw-r--r--recipes/libtool/libtool_2.2.4.bb2
-rw-r--r--recipes/libtool/libtool_2.2.6a.bb2
20 files changed, 23 insertions, 28 deletions
diff --git a/recipes/libtool/libtool-cross_1.5.10.bb b/recipes/libtool/libtool-cross_1.5.10.bb
index 7374f107de..256e71c05a 100644
--- a/recipes/libtool/libtool-cross_1.5.10.bb
+++ b/recipes/libtool/libtool-cross_1.5.10.bb
@@ -1,9 +1,8 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r10"
+PR = "${INC_PR}.0"
PACKAGES = ""
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://rpath-control.patch;patch=1 \
file://libdir-la.patch;patch=1 \
file://libdir-la2.patch;patch=1 \
diff --git a/recipes/libtool/libtool-cross_1.5.22.bb b/recipes/libtool/libtool-cross_1.5.22.bb
index c44b0512ee..949031146c 100644
--- a/recipes/libtool/libtool-cross_1.5.22.bb
+++ b/recipes/libtool/libtool-cross_1.5.22.bb
@@ -3,9 +3,8 @@ DEFAULT_PREFERENCE = "-1"
require libtool.inc
require libtool_${PV}.bb
-PR = "r0"
+PR = "${INC_PR}.0"
PACKAGES = ""
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://prefix.patch;patch=1 \
file://tag.patch;patch=1 \
diff --git a/recipes/libtool/libtool-cross_1.5.24.bb b/recipes/libtool/libtool-cross_1.5.24.bb
index cf6cc18ef6..2a7e4d7288 100644
--- a/recipes/libtool/libtool-cross_1.5.24.bb
+++ b/recipes/libtool/libtool-cross_1.5.24.bb
@@ -1,9 +1,8 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r0"
+PR = "${INC_PR}.0"
PACKAGES = ""
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://prefix.patch;patch=1 \
file://tag.patch;patch=1 \
diff --git a/recipes/libtool/libtool-cross_2.2.4.bb b/recipes/libtool/libtool-cross_2.2.4.bb
index dd8b598fde..e2c6bbeb6a 100644
--- a/recipes/libtool/libtool-cross_2.2.4.bb
+++ b/recipes/libtool/libtool-cross_2.2.4.bb
@@ -1,6 +1,6 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r24"
+PR = "${INC_PR}.0"
SRC_URI += "\
file://cross_compile.patch;patch=1 \
diff --git a/recipes/libtool/libtool-cross_2.2.6a.bb b/recipes/libtool/libtool-cross_2.2.6a.bb
index 1b2defb43f..b26e7cc26a 100644
--- a/recipes/libtool/libtool-cross_2.2.6a.bb
+++ b/recipes/libtool/libtool-cross_2.2.6a.bb
@@ -1,6 +1,6 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r1"
+PR = "${INC_PR}.0"
SRC_URI += "\
file://cross_compile.patch;patch=1 \
diff --git a/recipes/libtool/libtool-native_1.5.10.bb b/recipes/libtool/libtool-native_1.5.10.bb
index 59b323d8ff..362aea22f7 100644
--- a/recipes/libtool/libtool-native_1.5.10.bb
+++ b/recipes/libtool/libtool-native_1.5.10.bb
@@ -1,8 +1,7 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r10"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
+PR = "${INC_PR}.0"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://libdir-la2.patch;patch=1 \
file://prefix.patch;patch=1 \
diff --git a/recipes/libtool/libtool-native_1.5.22.bb b/recipes/libtool/libtool-native_1.5.22.bb
index 16db0bb65b..4d660f4965 100644
--- a/recipes/libtool/libtool-native_1.5.22.bb
+++ b/recipes/libtool/libtool-native_1.5.22.bb
@@ -3,8 +3,7 @@ DEFAULT_PREFERENCE = "-1"
require libtool.inc
require libtool_${PV}.bb
-PR = "r0"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
+PR = "${INC_PR}.0"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://prefix.patch;patch=1 \
file://tag.patch;patch=1 \
diff --git a/recipes/libtool/libtool-native_1.5.24.bb b/recipes/libtool/libtool-native_1.5.24.bb
index 1b0cb90a1e..95368819bb 100644
--- a/recipes/libtool/libtool-native_1.5.24.bb
+++ b/recipes/libtool/libtool-native_1.5.24.bb
@@ -3,8 +3,7 @@ SECTION = "devel"
require libtool.inc
require libtool_${PV}.bb
-PR = "r0"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
+PR = "${INC_PR}.0"
SRC_URI_append = " file://libdir-la.patch;patch=1 \
file://prefix.patch;patch=1 \
file://tag.patch;patch=1 \
diff --git a/recipes/libtool/libtool-native_2.2.4.bb b/recipes/libtool/libtool-native_2.2.4.bb
index bfef6a6c96..06564c74c3 100644
--- a/recipes/libtool/libtool-native_2.2.4.bb
+++ b/recipes/libtool/libtool-native_2.2.4.bb
@@ -1,6 +1,6 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r20"
+PR = "${INC_PR}.0"
SRC_URI += "\
file://cross_compile.patch;patch=1 \
diff --git a/recipes/libtool/libtool-native_2.2.6a.bb b/recipes/libtool/libtool-native_2.2.6a.bb
index c5a4a99db0..e699a2f33c 100644
--- a/recipes/libtool/libtool-native_2.2.6a.bb
+++ b/recipes/libtool/libtool-native_2.2.6a.bb
@@ -1,6 +1,6 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r0"
+PR = "${INC_PR}.0"
SRC_URI += "\
file://cross_compile.patch;patch=1 \
diff --git a/recipes/libtool/libtool-sdk_1.5.10.bb b/recipes/libtool/libtool-sdk_1.5.10.bb
index e068b531ad..21e408dc73 100644
--- a/recipes/libtool/libtool-sdk_1.5.10.bb
+++ b/recipes/libtool/libtool-sdk_1.5.10.bb
@@ -1,8 +1,7 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r0"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
+PR = "${INC_PR}.0"
SRC_URI_append = " file://rpath-control.patch;patch=1 \
file://libdir-la.patch;patch=1 \
file://libdir-la2.patch;patch=1 \
diff --git a/recipes/libtool/libtool-sdk_2.2.4.bb b/recipes/libtool/libtool-sdk_2.2.4.bb
index f2c3c628b0..0e9ae9b66e 100644
--- a/recipes/libtool/libtool-sdk_2.2.4.bb
+++ b/recipes/libtool/libtool-sdk_2.2.4.bb
@@ -1,8 +1,8 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r2"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
+PR = "${INC_PR}.0"
+
SRC_URI_append = " file://cross_compile.patch;patch=1"
S = "${WORKDIR}/libtool-${PV}"
diff --git a/recipes/libtool/libtool-sdk_2.2.6a.bb b/recipes/libtool/libtool-sdk_2.2.6a.bb
index 88ec4df8c0..263879beeb 100644
--- a/recipes/libtool/libtool-sdk_2.2.6a.bb
+++ b/recipes/libtool/libtool-sdk_2.2.6a.bb
@@ -1,7 +1,7 @@
require libtool.inc
require libtool_${PV}.bb
-PR = "r1"
+PR = "${INC_PR}.0"
SRC_URI_append = " file://cross_compile.patch;patch=1"
inherit sdk
diff --git a/recipes/libtool/libtool.inc b/recipes/libtool/libtool.inc
index 197612910a..9cc74010c6 100644
--- a/recipes/libtool/libtool.inc
+++ b/recipes/libtool/libtool.inc
@@ -6,4 +6,6 @@ HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
LICENSE = "GPL"
SECTION = "devel"
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
+INC_PR = "r24"
+
+FILESPATHPKG=. "libtool-${PV}:"
diff --git a/recipes/libtool/libtool_1.5.10.bb b/recipes/libtool/libtool_1.5.10.bb
index 428a06a0e7..8fd2cdfc59 100644
--- a/recipes/libtool/libtool_1.5.10.bb
+++ b/recipes/libtool/libtool_1.5.10.bb
@@ -1,5 +1,5 @@
require libtool.inc
-PR = "r5"
+PR = "${INC_PR}.0"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
file://autotools.patch;patch=1 \
diff --git a/recipes/libtool/libtool_1.5.22.bb b/recipes/libtool/libtool_1.5.22.bb
index 4bed7842b4..88116f0455 100644
--- a/recipes/libtool/libtool_1.5.22.bb
+++ b/recipes/libtool/libtool_1.5.22.bb
@@ -1,7 +1,7 @@
DEFAULT_PREFERENCE = "-1"
require libtool.inc
-PR = "r1"
+PR = "${INC_PR}.0"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
file://autotools.patch;patch=1 \
diff --git a/recipes/libtool/libtool_1.5.24.bb b/recipes/libtool/libtool_1.5.24.bb
index 7bdad1bed4..2ab735821f 100644
--- a/recipes/libtool/libtool_1.5.24.bb
+++ b/recipes/libtool/libtool_1.5.24.bb
@@ -1,7 +1,7 @@
DEFAULT_PREFERENCE = "-1"
require libtool.inc
-PR = "r1"
+PR = "${INC_PR}.0"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
file://autotools.patch;patch=1 \
diff --git a/recipes/libtool/libtool_1.5.6.bb b/recipes/libtool/libtool_1.5.6.bb
index 7fd9b81a3d..6827ea99a1 100644
--- a/recipes/libtool/libtool_1.5.6.bb
+++ b/recipes/libtool/libtool_1.5.6.bb
@@ -1,7 +1,7 @@
# Exists for compatibility with certain distributions (e.g. Maemo).
require libtool.inc
-PR = "r2"
+PR = "${INC_PR}.0"
DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/libtool/libtool_2.2.4.bb b/recipes/libtool/libtool_2.2.4.bb
index 8e6682f096..6de7336406 100644
--- a/recipes/libtool/libtool_2.2.4.bb
+++ b/recipes/libtool/libtool_2.2.4.bb
@@ -1,5 +1,5 @@
require libtool.inc
-PR = "r17"
+PR = "${INC_PR}.0"
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz"
S = "${WORKDIR}/libtool-${PV}"
diff --git a/recipes/libtool/libtool_2.2.6a.bb b/recipes/libtool/libtool_2.2.6a.bb
index e2996c7198..c69a937f16 100644
--- a/recipes/libtool/libtool_2.2.6a.bb
+++ b/recipes/libtool/libtool_2.2.6a.bb
@@ -1,5 +1,5 @@
require libtool.inc
-PR = "r2"
+PR = "${INC_PR}.0"
DEFAULT_PREFERENCE = "-1"