diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-03 07:48:37 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-03 07:48:37 +0000 |
commit | bcf1196062902a84f3836a67dca017fd6273cd1c (patch) | |
tree | 0675f80a0675a9d0642ba347acc12b12c0f96a66 /meta/packages/binutils | |
parent | 903bd14738c0418eedc4c930028db9ffdd86d6a9 (diff) | |
download | poky-bcf1196062902a84f3836a67dca017fd6273cd1c.tar.gz |
binutils: Use common .inc file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2662 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/binutils')
5 files changed, 5 insertions, 152 deletions
diff --git a/meta/packages/binutils/binutils-cross_2.15.94.0.1.bb b/meta/packages/binutils/binutils-cross_2.15.94.0.1.bb index 1f2f43ecf8..a418dfaab5 100644 --- a/meta/packages/binutils/binutils-cross_2.15.94.0.1.bb +++ b/meta/packages/binutils/binutils-cross_2.15.94.0.1.bb | |||
@@ -1,32 +1,3 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
3 | inherit cross | 2 | require binutils-cross.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | 3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" |
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | do_stage () { | ||
12 | oe_runmake install | ||
13 | |||
14 | # We don't really need these, so we'll remove them... | ||
15 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
16 | rm -rf ${CROSS_DIR}/share/info | ||
17 | rm -rf ${CROSS_DIR}/share/locale | ||
18 | rm -rf ${CROSS_DIR}/share/man | ||
19 | rmdir ${CROSS_DIR}/share || : | ||
20 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
21 | rmdir ${CROSS_DIR}/${libdir} || : | ||
22 | rmdir ${CROSS_DIR}/${prefix} || : | ||
23 | |||
24 | # We want to move this into the target specific location | ||
25 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
26 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
27 | rmdir ${CROSS_DIR}/lib || : | ||
28 | } | ||
29 | |||
30 | do_install () { | ||
31 | : | ||
32 | } | ||
diff --git a/meta/packages/binutils/binutils-cross_2.16.91.0.7.bb b/meta/packages/binutils/binutils-cross_2.16.91.0.7.bb index 1f2f43ecf8..a418dfaab5 100644 --- a/meta/packages/binutils/binutils-cross_2.16.91.0.7.bb +++ b/meta/packages/binutils/binutils-cross_2.16.91.0.7.bb | |||
@@ -1,32 +1,3 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
3 | inherit cross | 2 | require binutils-cross.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | 3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" |
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | do_stage () { | ||
12 | oe_runmake install | ||
13 | |||
14 | # We don't really need these, so we'll remove them... | ||
15 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
16 | rm -rf ${CROSS_DIR}/share/info | ||
17 | rm -rf ${CROSS_DIR}/share/locale | ||
18 | rm -rf ${CROSS_DIR}/share/man | ||
19 | rmdir ${CROSS_DIR}/share || : | ||
20 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
21 | rmdir ${CROSS_DIR}/${libdir} || : | ||
22 | rmdir ${CROSS_DIR}/${prefix} || : | ||
23 | |||
24 | # We want to move this into the target specific location | ||
25 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
26 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
27 | rmdir ${CROSS_DIR}/lib || : | ||
28 | } | ||
29 | |||
30 | do_install () { | ||
31 | : | ||
32 | } | ||
diff --git a/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb b/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb index 1f2f43ecf8..a418dfaab5 100644 --- a/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb +++ b/meta/packages/binutils/binutils-cross_2.17.50.0.12.bb | |||
@@ -1,32 +1,3 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
3 | inherit cross | 2 | require binutils-cross.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | 3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" |
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | do_stage () { | ||
12 | oe_runmake install | ||
13 | |||
14 | # We don't really need these, so we'll remove them... | ||
15 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
16 | rm -rf ${CROSS_DIR}/share/info | ||
17 | rm -rf ${CROSS_DIR}/share/locale | ||
18 | rm -rf ${CROSS_DIR}/share/man | ||
19 | rmdir ${CROSS_DIR}/share || : | ||
20 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
21 | rmdir ${CROSS_DIR}/${libdir} || : | ||
22 | rmdir ${CROSS_DIR}/${prefix} || : | ||
23 | |||
24 | # We want to move this into the target specific location | ||
25 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
26 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
27 | rmdir ${CROSS_DIR}/lib || : | ||
28 | } | ||
29 | |||
30 | do_install () { | ||
31 | : | ||
32 | } | ||
diff --git a/meta/packages/binutils/binutils-cross_csl-arm-2005q3-2.bb b/meta/packages/binutils/binutils-cross_csl-arm-2005q3-2.bb index dd2792d159..2174074ab6 100644 --- a/meta/packages/binutils/binutils-cross_csl-arm-2005q3-2.bb +++ b/meta/packages/binutils/binutils-cross_csl-arm-2005q3-2.bb | |||
@@ -1,34 +1,4 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_csl-arm-2005q3-2.bb | 1 | require binutils_csl-arm-2005q3-2.bb |
3 | inherit cross | 2 | require binutils-cross.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${FILE_DIRNAME}/binutils-{PV}" | 3 | FILESDIR = "${FILE_DIRNAME}/binutils-{PV}" |
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | S = "${WORKDIR}/binutils-2.17pre" | 4 | S = "${WORKDIR}/binutils-2.17pre" |
12 | |||
13 | do_stage () { | ||
14 | oe_runmake install | ||
15 | |||
16 | # We don't really need these, so we'll remove them... | ||
17 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
18 | rm -rf ${CROSS_DIR}/share/info | ||
19 | rm -rf ${CROSS_DIR}/share/locale | ||
20 | rm -rf ${CROSS_DIR}/share/man | ||
21 | rmdir ${CROSS_DIR}/share || : | ||
22 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
23 | rmdir ${CROSS_DIR}/${libdir} || : | ||
24 | rmdir ${CROSS_DIR}/${prefix} || : | ||
25 | |||
26 | # We want to move this into the target specific location | ||
27 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
28 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
29 | rmdir ${CROSS_DIR}/lib || : | ||
30 | } | ||
31 | |||
32 | do_install () { | ||
33 | : | ||
34 | } | ||
diff --git a/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb b/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb index 07f2b33fa7..b392d8208f 100644 --- a/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb +++ b/meta/packages/binutils/binutils-cross_csl-arm-2006q1.bb | |||
@@ -1,34 +1,4 @@ | |||
1 | SECTION = "devel" | ||
2 | require binutils_csl-arm-2006q1.bb | 1 | require binutils_csl-arm-2006q1.bb |
3 | inherit cross | 2 | require binutils-cross.inc |
4 | DEPENDS += "flex-native bison-native" | ||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" | 3 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" |
7 | PACKAGES = "" | ||
8 | EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \ | ||
9 | --program-prefix=${TARGET_PREFIX}" | ||
10 | |||
11 | S = "${WORKDIR}/binutils-2.17" | 4 | S = "${WORKDIR}/binutils-2.17" |
12 | |||
13 | do_stage () { | ||
14 | oe_runmake install | ||
15 | |||
16 | # We don't really need these, so we'll remove them... | ||
17 | rm -rf ${CROSS_DIR}/lib/ldscripts | ||
18 | rm -rf ${CROSS_DIR}/share/info | ||
19 | rm -rf ${CROSS_DIR}/share/locale | ||
20 | rm -rf ${CROSS_DIR}/share/man | ||
21 | rmdir ${CROSS_DIR}/share || : | ||
22 | rmdir ${CROSS_DIR}/${libdir}/gcc-lib || : | ||
23 | rmdir ${CROSS_DIR}/${libdir} || : | ||
24 | rmdir ${CROSS_DIR}/${prefix} || : | ||
25 | |||
26 | # We want to move this into the target specific location | ||
27 | mkdir -p ${CROSS_DIR}/${TARGET_SYS}/lib | ||
28 | mv -f ${CROSS_DIR}/lib/libiberty.a ${CROSS_DIR}/${TARGET_SYS}/lib | ||
29 | rmdir ${CROSS_DIR}/lib || : | ||
30 | } | ||
31 | |||
32 | do_install () { | ||
33 | : | ||
34 | } | ||