summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2009-11-27 15:14:14 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2009-11-27 21:47:27 -0200
commitf0ae52610d3de66cf9f00c22445b45babda8ed3b (patch)
tree0e3eeed2345a216fc18eb0fce10b0460cbd8a4be
parent0ad83bc173f0b65119722bcae8f2411b2815e6b9 (diff)
chicken: path and dependencies fixes for chicken recipes
Removed gcc-cross-sdk as dependency. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
-rw-r--r--recipes/chicken/chicken-cross_4.2.0.bb8
-rw-r--r--recipes/chicken/chicken.inc5
-rw-r--r--recipes/chicken/chicken_4.2.0.bb4
3 files changed, 8 insertions, 9 deletions
diff --git a/recipes/chicken/chicken-cross_4.2.0.bb b/recipes/chicken/chicken-cross_4.2.0.bb
index 14b929bac9..387247b58a 100644
--- a/recipes/chicken/chicken-cross_4.2.0.bb
+++ b/recipes/chicken/chicken-cross_4.2.0.bb
@@ -1,21 +1,19 @@
require chicken.inc
-DEPENDS = "gcc-cross-sdk chicken"
-RDEPENDS = "gcc-cross-sdk chicken"
PR = "${INC_PR}.1"
inherit cross
do_compile() {
- make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR}/${TARGET_SYS}/usr" TARGET_RUN_PREFIX="${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" C_COMPILER=gcc LIBRARIAN=ar
+ make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR_TARGET}${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" LIBRARIAN=ar
}
do_install() {
- make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR}/${TARGET_SYS}/usr" TARGET_RUN_PREFIX="${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" C_COMPILER=gcc LIBRARIAN=ar install
+ make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR_TARGET}${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" LIBRARIAN=ar install
}
do_stage() {
- make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR}/${TARGET_SYS}/usr" TARGET_RUN_PREFIX="${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" C_COMPILER=gcc LIBRARIAN=ar install
+ make PLATFORM="linux" PREFIX="${prefix}" TARGET_PREFIX="${STAGING_DIR_TARGET}${layout_prefix}" TARGETSYSTEM="${TARGET_SYS}" LIBRARIAN=ar install
}
PACKAGES += "chicken-bin libchicken libuchicken"
diff --git a/recipes/chicken/chicken.inc b/recipes/chicken/chicken.inc
index 477a8a8c05..229de94cba 100644
--- a/recipes/chicken/chicken.inc
+++ b/recipes/chicken/chicken.inc
@@ -3,10 +3,11 @@ HOMEPAGE = "http://www.call-with-current-continuation.org/"
SECTION = "interpreters"
PRIORITY = "optional"
LICENSE = "BSD"
-INC_PR = "r2"
+INC_PR = "r3"
SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz \
- file://soname.patch;patch=1"
+ file://soname.patch;patch=1 \
+ file://translator-cross.patch;patch=1"
# Parallel building is not supported
PARALLEL_MAKE = ""
diff --git a/recipes/chicken/chicken_4.2.0.bb b/recipes/chicken/chicken_4.2.0.bb
index eda4d7a3f9..601462a3fc 100644
--- a/recipes/chicken/chicken_4.2.0.bb
+++ b/recipes/chicken/chicken_4.2.0.bb
@@ -5,7 +5,7 @@ RDEPENDS = "gcc-cross-sdk"
PR = "${INC_PR}.1"
do_compile() {
- make PLATFORM="linux" PREFIX="${prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH}
+ make PLATFORM="linux" DESTDIR="${D}" PREFIX="${prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH}
}
do_install() {
@@ -13,7 +13,7 @@ do_install() {
}
do_stage() {
- make PLATFORM="linux" PREFIX="${STAGING_DIR}/${TARGET_SYS}${layout_prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH} install
+ make PLATFORM="linux" DESTDIR="${STAGING_DIR_TARGET}" PREFIX="${prefix}" HOSTSYSTEM="${TARGET_SYS}" ARCH=${CHICKEN_ARCH} install
}
PACKAGES += "chicken-bin libchicken libuchicken"