summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-15 17:36:57 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-15 17:36:57 +0000
commit94d4cc865b8d5c8b8169743f257a5e92d466141d (patch)
treed9926c08224087afd68ca1ebc6de0e1d6109f1b0 /packages
parent23cc6ed5652ecbbb2f6331f85e648d296650ac4a (diff)
gcc-cross-sdk: Fixup sdk packaging to be self contained and drop gcc-package-target.inc
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/gcc-cross-kernel-3.3.3_3.3.3.bb1
-rw-r--r--packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb1
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb1
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4_csl-arm-2005q3.bb1
-rw-r--r--packages/gcc/gcc-cross-sdk_3.3.4.bb8
-rw-r--r--packages/gcc/gcc-cross-sdk_3.4.3.bb8
-rw-r--r--packages/gcc/gcc-cross-sdk_3.4.4.bb8
-rw-r--r--packages/gcc/gcc-cross-sdk_4.1.0.bb8
-rw-r--r--packages/gcc/gcc-cross-sdk_4.1.1.bb6
-rw-r--r--packages/gcc/gcc-cross-sdk_4.1.2.bb5
-rw-r--r--packages/gcc/gcc-cross-sdk_4.2.2.bb3
-rw-r--r--packages/gcc/gcc-package-sdk.inc12
12 files changed, 22 insertions, 40 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 7f274bee30..a1991324c5 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,4 +1,3 @@
-SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
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 ba89452187..ef59dc8716 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,4 +1,3 @@
-SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
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 03c6ce2b86..c4d58c14ba 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,4 +1,3 @@
-SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
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 d9c818979c..d1cb6e4786 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,7 +3,6 @@
DEFAULT_PREFERENCE = "-1"
-SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
diff --git a/packages/gcc/gcc-cross-sdk_3.3.4.bb b/packages/gcc/gcc-cross-sdk_3.3.4.bb
index 4f98905b17..17faff5fff 100644
--- a/packages/gcc/gcc-cross-sdk_3.3.4.bb
+++ b/packages/gcc/gcc-cross-sdk_3.3.4.bb
@@ -1,11 +1,9 @@
-require gcc-${PV}.inc
-require gcc-package-target.inc
PR = "r3"
inherit sdk
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
-PACKAGES = "${PN}"
-
+require gcc-${PV}.inc
require gcc3-build-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
diff --git a/packages/gcc/gcc-cross-sdk_3.4.3.bb b/packages/gcc/gcc-cross-sdk_3.4.3.bb
index 739c589d2b..721e677a29 100644
--- a/packages/gcc/gcc-cross-sdk_3.4.3.bb
+++ b/packages/gcc/gcc-cross-sdk_3.4.3.bb
@@ -1,11 +1,9 @@
-require gcc-${PV}.inc
-require gcc-package-target.inc
PR = "r1"
inherit sdk
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
-PACKAGES = "${PN}"
-
+require gcc-${PV}.inc
require gcc3-build-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" \ No newline at end of file
diff --git a/packages/gcc/gcc-cross-sdk_3.4.4.bb b/packages/gcc/gcc-cross-sdk_3.4.4.bb
index 4f98905b17..14d00830ac 100644
--- a/packages/gcc/gcc-cross-sdk_3.4.4.bb
+++ b/packages/gcc/gcc-cross-sdk_3.4.4.bb
@@ -1,11 +1,9 @@
-require gcc-${PV}.inc
-require gcc-package-target.inc
PR = "r3"
inherit sdk
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
-PACKAGES = "${PN}"
-
+require gcc-${PV}.inc
require gcc3-build-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" \ No newline at end of file
diff --git a/packages/gcc/gcc-cross-sdk_4.1.0.bb b/packages/gcc/gcc-cross-sdk_4.1.0.bb
index a6f0157428..7ccb2f3c66 100644
--- a/packages/gcc/gcc-cross-sdk_4.1.0.bb
+++ b/packages/gcc/gcc-cross-sdk_4.1.0.bb
@@ -1,11 +1,9 @@
-require gcc-${PV}.inc
-require gcc-package-target.inc
PR = "r2"
inherit sdk
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
-PACKAGES = "${PN}"
-
+require gcc-${PV}.inc
require gcc4-build-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" \ No newline at end of file
diff --git a/packages/gcc/gcc-cross-sdk_4.1.1.bb b/packages/gcc/gcc-cross-sdk_4.1.1.bb
index 069a524ed0..e07d568f6a 100644
--- a/packages/gcc/gcc-cross-sdk_4.1.1.bb
+++ b/packages/gcc/gcc-cross-sdk_4.1.1.bb
@@ -2,10 +2,8 @@ PR = "r3"
inherit sdk
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
-PACKAGES = "${PN}"
-
require gcc-${PV}.inc
-require gcc-package-target.inc
require gcc4-build-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" \ No newline at end of file
diff --git a/packages/gcc/gcc-cross-sdk_4.1.2.bb b/packages/gcc/gcc-cross-sdk_4.1.2.bb
index ce58198734..1f28791ad4 100644
--- a/packages/gcc/gcc-cross-sdk_4.1.2.bb
+++ b/packages/gcc/gcc-cross-sdk_4.1.2.bb
@@ -2,11 +2,10 @@ PR = "r5"
inherit sdk
-DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
-
require gcc-${PV}.inc
-require gcc-package-target.inc
require gcc4-build-sdk.inc
require gcc-package-sdk.inc
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
diff --git a/packages/gcc/gcc-cross-sdk_4.2.2.bb b/packages/gcc/gcc-cross-sdk_4.2.2.bb
index 6bdf60b217..b9fc685d98 100644
--- a/packages/gcc/gcc-cross-sdk_4.2.2.bb
+++ b/packages/gcc/gcc-cross-sdk_4.2.2.bb
@@ -2,10 +2,7 @@ PR = "r3"
inherit sdk
-PACKAGES = "${PN}"
-
require gcc-${PV}.inc
-require gcc-package-target.inc
require gcc4-build-sdk.inc
require gcc-package-sdk.inc
diff --git a/packages/gcc/gcc-package-sdk.inc b/packages/gcc/gcc-package-sdk.inc
index 635ab6d1f4..8b68d29938 100644
--- a/packages/gcc/gcc-package-sdk.inc
+++ b/packages/gcc/gcc-package-sdk.inc
@@ -1,9 +1,3 @@
-#
-# Note gcc-package.inc was already included before us.
-#
-# We override PACKAGES and FILES to change the packaging
-#
-
INHIBIT_PACKAGE_STRIP ?= ""
HAS_G2C ?= "yes"
HAS_GFORTRAN ?= "no"
@@ -29,6 +23,12 @@ FILES_${PN} = "\
${prefix}/${TARGET_SYS}/bin/* \
${prefix}/${TARGET_SYS}/lib/* \
"
+FILES_${PN}-doc = "\
+ ${infodir} \
+ ${mandir} \
+ ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \
+ "
+
do_install () {
oe_runmake 'DESTDIR=${D}' install