diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/chicken/chicken-cross_4.2.0.bb | 8 | ||||
-rw-r--r-- | recipes/chicken/chicken.inc | 5 | ||||
-rw-r--r-- | recipes/chicken/chicken_4.2.0.bb | 4 |
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" |