summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-02-28 13:26:53 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-02-28 13:26:53 +0000
commit5e602298fb5bae9cd1f8d0f78d5a96c09ca0a532 (patch)
treead5e7ed8c5d12491eb3e41b2716bbf3af43231da /packages
parent3c1299f257f06b1b7f629de108041345cd16d6c8 (diff)
avr-libc: Fix STAGING_DIR references
Diffstat (limited to 'packages')
-rw-r--r--packages/avr-libc/avr-libc_1.0.3.bb9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/avr-libc/avr-libc_1.0.3.bb b/packages/avr-libc/avr-libc_1.0.3.bb
index 1c627a1576..20a2850958 100644
--- a/packages/avr-libc/avr-libc_1.0.3.bb
+++ b/packages/avr-libc/avr-libc_1.0.3.bb
@@ -22,12 +22,13 @@ prefix = "${CROSS_DIR}"
exec_prefix = "${prefix}"
do_stage () {
-# install into CROSS_DIR
+ # install into CROSS_DIR
oe_runmake install
-# install into STAGING_DIR
- oe_runmake "prefix=${STAGING_DIR}" "exec_prefix=${STAGING_DIR}" \
+ # install into staging
+ oe_runmake "prefix=${STAGING_DIR_HOST}${layout_prefix}" \
+ "exec_prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" \
"bindir=${STAGING_BINDIR}" "libdir=${STAGING_LIBDIR}" \
- "tooldir=${STAGING_DIR}" "toolibdir=${STAGING_LIBDIR}" \
+ "tooldir=${STAGING_DIR_HOST}" "toolibdir=${STAGING_LIBDIR}" \
install
}