summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-16 00:41:33 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-16 00:41:33 +0000
commit3c9a4836c65b924c697a702f2499c422bde3e744 (patch)
tree7449b546b0bf281bed5d95521bef4cbd065cff10
parent7db560e8cc5c5c1a3983276332763821362011a8 (diff)
gcc-cross-kernel: Create common .inc file
-rw-r--r--packages/gcc/gcc-cross-kernel-3.3.3_3.3.3.bb16
-rw-r--r--packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb16
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb16
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb16
4 files changed, 4 insertions, 60 deletions
diff --git a/packages/gcc/gcc-cross-kernel-3.3.3_3.3.3.bb b/packages/gcc/gcc-cross-kernel-3.3.3_3.3.3.bb
index a1991324c5..f5b0d8e915 100644
--- a/packages/gcc/gcc-cross-kernel-3.3.3_3.3.3.bb
+++ b/packages/gcc/gcc-cross-kernel-3.3.3_3.3.3.bb
@@ -1,16 +1,2 @@
-# cut-down gcc for kernel builds
-# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
-
require gcc-cross-initial_${PV}.bb
-
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
-
-do_install () {
- :
-}
-
-do_stage () {
- cd gcc
- oe_runmake install-common install-headers install-libgcc
- install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
-}
+require gcc-cross-kernel.inc
diff --git a/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb b/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
index ef59dc8716..f5b0d8e915 100644
--- a/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
+++ b/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
@@ -1,16 +1,2 @@
-# cut-down gcc for kernel builds
-# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
-
require gcc-cross-initial_${PV}.bb
-
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
-
-do_install () {
- :
-}
-
-do_stage () {
- cd gcc
- oe_runmake install-libgcc install-common install-headers
- install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
-}
+require gcc-cross-kernel.inc
diff --git a/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb b/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb
index c4d58c14ba..07da82eda8 100644
--- a/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb
+++ b/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb
@@ -1,18 +1,4 @@
-# cut-down gcc for kernel builds
-# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
-
require gcc-cross-initial_${PV}.bb
-
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
+require gcc-cross-kernel.inc
SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"
-
-do_install () {
- :
-}
-
-do_stage () {
- cd gcc
- oe_runmake install-common install-headers install-libgcc
- install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
-}
diff --git a/packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb b/packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb
index d1cb6e4786..46a56fa339 100644
--- a/packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb
+++ b/packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb
@@ -3,22 +3,8 @@
DEFAULT_PREFERENCE = "-1"
-# cut-down gcc for kernel builds
-# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
-
+require gcc-cross-kernel.inc
require gcc-cross-initial_csl-arm-2005q3.bb
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
-
SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"
-do_install () {
- :
-}
-
-do_stage () {
- cd gcc
- oe_runmake install-common install-headers install-libgcc
- install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
-}
-