run install-headers too - patch courtesy pb_.
authorMichael Lauer <mickey@vanille-media.de>
Sat, 1 May 2004 18:08:03 +0000 (18:08 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 1 May 2004 18:08:03 +0000 (18:08 +0000)
BKrev: 4093e783rC9ZKbstUrW-fkyBKo5h7Q

gcc/gcc-cross-kernel_3.3.3.oe

index e69de29..62d6d19 100644 (file)
@@ -0,0 +1,16 @@
+# cut-down gcc for kernel builds
+# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
+
+include gcc-cross-initial_${PV}.oe
+
+PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
+
+do_install () {
+       :
+}
+
+do_stage () {
+       cd gcc
+       oe_runmake install-common install-headers
+       install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
+}