diff options
author | Ting Liu <b28495@freescale.com> | 2013-07-08 11:08:16 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-07-10 11:22:18 +0800 |
commit | 851c7ff26de131b871bd5a64274c1a2b13d60fc3 (patch) | |
tree | 92eac21a1e1e6c3c0d27bdeaca2ff967e85c2e65 /recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | |
parent | 55f7692b69fe273aa41f7362a9324c80515d7b52 (diff) | |
download | meta-fsl-ppc-851c7ff26de131b871bd5a64274c1a2b13d60fc3.tar.gz |
change layout to follow oe-core guidelines of recipes
Follow the rules defined in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes.txt
recipes-bsp - Anything with links to specific hardware or
hardware configuration information
recipes-connectivity - Libraries and applications related to
communication with other devices
recipes-core - What's needed to build a basic working Linux
image including commonly used dependencies
recipes-devtools - Tools primarily used by the build system (but can
also be used on targets)
recipes-extended - Applications which whilst not essential add
features compared to the alternatives in
core. May be needed for full tool functionality
or LSB compliance.
recipes-gnome - All things related to the GTK+ application
framework
recipes-graphics - X and other graphically related system libraries
recipes-kernel - The kernel and generic applications/libraries
with strong kernel dependencies
recipes-lsb4 - Recipes added for the sole purpose of supporting
the Linux Standard Base (LSB) 4.x
recipes-multimedia - Codecs and support utilties for audio, images and
video
recipes-rt - Provides package and image recipes for using and
testing the PREEMPT_RT kernel
recipes-qt - All things related to the Qt application
framework
recipes-sato - The Sato demo/reference UI/UX, its associated
apps and configuration
recipes-support - Recipes used by other recipes but that are not
directly included in images
recipes-dpaa - recipes related to fsl dpaa feature
recipes-virtualization - recipes related to fsl virtualization feature
Signed-off-by: Ting Liu <b28495@freescale.com>
Diffstat (limited to 'recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch')
-rw-r--r-- | recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch new file mode 100644 index 0000000..42de56d --- /dev/null +++ b/recipes-extended/testfloat/files/Yocto-replace-COMPILE_PREFIX-gcc.patch | |||
@@ -0,0 +1,67 @@ | |||
1 | From 6c7567e05c28b8cb6c7dc68c278950a32feb6f64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ting Liu <b28495@freescale.com> | ||
3 | Date: Wed, 9 May 2012 02:42:57 -0500 | ||
4 | Subject: [PATCH] Yocto: replace $(COMPILE_PREFIX)gcc with $(CC) and remove -te500v2 flags | ||
5 | |||
6 | Signed-off-by: Ting Liu <b28495@freescale.com> | ||
7 | --- | ||
8 | SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | 4 ++-- | ||
9 | SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile | 4 ++-- | ||
10 | testfloat/powerpc-linux-gcc/Makefile | 8 ++++---- | ||
11 | 3 files changed, 8 insertions(+), 8 deletions(-) | ||
12 | |||
13 | diff --git a/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile b/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | ||
14 | index 28f1e33..4098048 100644 | ||
15 | --- a/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | ||
16 | +++ b/SoftFloat-2b/softfloat/bits32/powerpc-GCC/Makefile | ||
17 | @@ -5,8 +5,8 @@ SOFTFLOAT_MACROS = ../softfloat-macros | ||
18 | OBJ = .o | ||
19 | EXE = | ||
20 | INCLUDES = -I. -I.. | ||
21 | -COMPILE_C = $(COMPILE_PREFIX)gcc -msoft-float -c -o $@ $(INCLUDES) -I- -O2 | ||
22 | -LINK = $(COMPILE_PREFIX)gcc -o $@ | ||
23 | +COMPILE_C = $(CC) -msoft-float -c -o $@ $(INCLUDES) -I- -O2 | ||
24 | +LINK = $(CC) -o $@ | ||
25 | |||
26 | ALL: softfloat$(OBJ) timesoftfloat$(EXE) | ||
27 | |||
28 | diff --git a/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile b/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile | ||
29 | index a5e2cc7..c34e16e 100644 | ||
30 | --- a/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile | ||
31 | +++ b/SoftFloat-2b/softfloat/bits64/powerpc-GCC/Makefile | ||
32 | @@ -5,8 +5,8 @@ SOFTFLOAT_MACROS = ../softfloat-macros | ||
33 | OBJ = .o | ||
34 | EXE = | ||
35 | INCLUDES = -I. -I.. | ||
36 | -COMPILE_C = $(COMPILE_PREFIX) -mcpu=8548 -mhard-float -mfloat-gprs=double -o $@ $(INCLUDES) -I- -O2 | ||
37 | -LINK = $(COMPILE_PREFIX) -o $@ | ||
38 | +COMPILE_C = $(CC) -mcpu=8548 -mhard-float -mfloat-gprs=double -o $@ $(INCLUDES) -I- -O2 | ||
39 | +LINK = $(CC) -o $@ | ||
40 | |||
41 | ALL: softfloat$(OBJ) timesoftfloat$(EXE) | ||
42 | |||
43 | diff --git a/testfloat/powerpc-linux-gcc/Makefile b/testfloat/powerpc-linux-gcc/Makefile | ||
44 | index de50aad..1a8b5f7 100644 | ||
45 | --- a/testfloat/powerpc-linux-gcc/Makefile | ||
46 | +++ b/testfloat/powerpc-linux-gcc/Makefile | ||
47 | @@ -8,13 +8,13 @@ OBJ = .o | ||
48 | EXE = | ||
49 | INCLUDES = -I. -I.. -I$(SOFTFLOAT_DIR) | ||
50 | |||
51 | -COMPILE_C = $(COMPILE_PREFIX)gcc -c -o $@ $(INCLUDES) -I- -O $(EXTRA_CFLAGS) | ||
52 | +COMPILE_C = $(CC) -c -o $@ $(INCLUDES) -I- -O $(EXTRA_CFLAGS) | ||
53 | |||
54 | -COMPILE_C_HARD = $(COMPILE_PREFIX)gcc -c -te500v2 -o $@ $(INCLUDES) | ||
55 | +COMPILE_C_HARD = $(CC) -c -o $@ $(INCLUDES) | ||
56 | |||
57 | -COMPILE_SLOWFLOAT_C = $(COMPILE_PREFIX)gcc -c -o $@ $(INCLUDES) -I- -O | ||
58 | +COMPILE_SLOWFLOAT_C = $(CC) -c -o $@ $(INCLUDES) -I- -O | ||
59 | |||
60 | -LINK = $(COMPILE_PREFIX)gcc -lm -o $@ | ||
61 | +LINK = $(CC) -lm -o $@ | ||
62 | |||
63 | SOFTFLOAT_H = $(SOFTFLOAT_DIR)/softfloat.h | ||
64 | SOFTFLOAT_OBJ = $(SOFTFLOAT_DIR)/softfloat$(OBJ) | ||
65 | -- | ||
66 | 1.7.3.4 | ||
67 | |||