diff options
author | Adrian Alonso <aalonso00@gmail.com> | 2011-11-07 20:41:44 -0600 |
---|---|---|
committer | Adrian Alonso <aalonso00@gmail.com> | 2011-11-07 20:41:44 -0600 |
commit | 35bac125c3492c65c742c320d441809b66f9b185 (patch) | |
tree | 371033d4b2bbdb9164cfaad2b90703565b09e6af /recipes-multimedia/fsl-mm-core | |
parent | 1a754553ca1fc1862ceecdd449b6e2715502ca81 (diff) | |
download | meta-fsl-arm-35bac125c3492c65c742c320d441809b66f9b185.tar.gz |
imx-lib: update to release version 11.09.01
* Update to release version 11.09.01
* Distribute imx-lib source code as part of metadata
* Remove libraries shared link creation, prevent QA
test failure.
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Diffstat (limited to 'recipes-multimedia/fsl-mm-core')
-rw-r--r-- | recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-11.09.01.tar.gz | bin | 0 -> 153932 bytes | |||
-rw-r--r-- | recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-remove-shared-libs-symlinks.patch | 147 | ||||
-rw-r--r-- | recipes-multimedia/fsl-mm-core/imx-lib_11.09.01.bb (renamed from recipes-multimedia/fsl-mm-core/imx-lib_11.05.01.bb) | 13 |
3 files changed, 154 insertions, 6 deletions
diff --git a/recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-11.09.01.tar.gz b/recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-11.09.01.tar.gz new file mode 100644 index 0000000..1d22276 --- /dev/null +++ b/recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-11.09.01.tar.gz | |||
Binary files differ | |||
diff --git a/recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-remove-shared-libs-symlinks.patch b/recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-remove-shared-libs-symlinks.patch new file mode 100644 index 0000000..dc58504 --- /dev/null +++ b/recipes-multimedia/fsl-mm-core/imx-lib/imx-lib-remove-shared-libs-symlinks.patch | |||
@@ -0,0 +1,147 @@ | |||
1 | From 91732b83137039597b1cd0d747626d70e59d252d Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Alonso <aalonso@freescale.com> | ||
3 | Date: Tue, 1 Nov 2011 14:57:32 -0600 | ||
4 | Subject: [PATCH] imx-lib: remove shared libs symlinks | ||
5 | |||
6 | * Remove shared libs symlinks creation | ||
7 | |||
8 | Signed-off-by: Adrian Alonso <aalonso@freescale.com> | ||
9 | --- | ||
10 | ipu/Makefile | 5 +---- | ||
11 | pxp/Makefile | 5 +---- | ||
12 | rng/Makefile | 5 +---- | ||
13 | sahara2/Makefile | 5 +---- | ||
14 | screenlayer/Makefile | 5 +---- | ||
15 | sim/Makefile | 5 +---- | ||
16 | vpu/Makefile | 5 +---- | ||
17 | 7 files changed, 7 insertions(+), 28 deletions(-) | ||
18 | |||
19 | diff --git a/ipu/Makefile b/ipu/Makefile | ||
20 | index 97241e3..654f650 100644 | ||
21 | --- a/ipu/Makefile | ||
22 | +++ b/ipu/Makefile | ||
23 | @@ -27,12 +27,9 @@ all install: | ||
24 | @echo "Not support platform, will not complile" | ||
25 | endif | ||
26 | |||
27 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
28 | +$(LIBNAME).so: $(OBJS) | ||
29 | $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -lpthread | ||
30 | |||
31 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
32 | - ln -s $< $@ | ||
33 | - | ||
34 | %.o: %.c | ||
35 | ifeq "$(PLATFORM)" "" | ||
36 | $(error "Unspecified PLATFORM variable") | ||
37 | diff --git a/pxp/Makefile b/pxp/Makefile | ||
38 | index c2bb59d..70bb508 100644 | ||
39 | --- a/pxp/Makefile | ||
40 | +++ b/pxp/Makefile | ||
41 | @@ -27,12 +27,9 @@ endif | ||
42 | %.o: %.c | ||
43 | $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -O2 -fPIC -c $^ -o $@ | ||
44 | |||
45 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJ) | ||
46 | +$(LIBNAME).so: $(OBJ) | ||
47 | $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ | ||
48 | |||
49 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
50 | - ln -s $< $@ | ||
51 | - | ||
52 | $(LIBNAME).a: $(OBJ) | ||
53 | $(AR) -rc $@ $^ | ||
54 | |||
55 | diff --git a/rng/Makefile b/rng/Makefile | ||
56 | index 4b1dd5c..b5dd2e1 100644 | ||
57 | --- a/rng/Makefile | ||
58 | +++ b/rng/Makefile | ||
59 | @@ -30,12 +30,9 @@ install_headers: | ||
60 | $(LIBNAME).a: $(OBJS) | ||
61 | $(AR) $@ $^ | ||
62 | |||
63 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
64 | +$(LIBNAME).so: $(OBJS) | ||
65 | $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ | ||
66 | |||
67 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
68 | - ln -s $< $@ | ||
69 | - | ||
70 | .PHONY: clean | ||
71 | clean: | ||
72 | @rm -f *.o $(LIBNAME).* | ||
73 | diff --git a/sahara2/Makefile b/sahara2/Makefile | ||
74 | index 106d932..dd9550e 100644 | ||
75 | --- a/sahara2/Makefile | ||
76 | +++ b/sahara2/Makefile | ||
77 | @@ -49,12 +49,9 @@ endif | ||
78 | $(LIBNAME).a: $(OBJS) | ||
79 | $(AR) $@ $^ | ||
80 | |||
81 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
82 | +$(LIBNAME).so: $(OBJS) | ||
83 | $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ | ||
84 | |||
85 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
86 | - ln -s $< $@ | ||
87 | - | ||
88 | .PHONY: clean | ||
89 | clean: | ||
90 | @rm -f $(OBJS) $(LIBNAME).* | ||
91 | diff --git a/screenlayer/Makefile b/screenlayer/Makefile | ||
92 | index a90d4d5..a4f36ae 100644 | ||
93 | --- a/screenlayer/Makefile | ||
94 | +++ b/screenlayer/Makefile | ||
95 | @@ -23,12 +23,9 @@ all install: | ||
96 | @echo "Not support platform, will not complile" | ||
97 | endif | ||
98 | |||
99 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
100 | +$(LIBNAME).so: $(OBJS) | ||
101 | $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -L../ipu -lipu | ||
102 | |||
103 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
104 | - ln -s $< $@ | ||
105 | - | ||
106 | %.o: %.c | ||
107 | $(CC) $(INC) -Wall -O2 -fPIC -c $^ -o $@ | ||
108 | |||
109 | diff --git a/sim/Makefile b/sim/Makefile | ||
110 | index 7685e32..5e31e6a 100644 | ||
111 | --- a/sim/Makefile | ||
112 | +++ b/sim/Makefile | ||
113 | @@ -20,12 +20,9 @@ install: | ||
114 | @mkdir -p $(DEST_DIR)/usr/include | ||
115 | cp iso7816-3.h $(DEST_DIR)/usr/include | ||
116 | |||
117 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
118 | +$(LIBNAME).so: $(OBJS) | ||
119 | $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -lpthread | ||
120 | |||
121 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
122 | - ln -s $< $@ | ||
123 | - | ||
124 | %.o: %.c | ||
125 | $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -O2 -fPIC -c $^ -o $@ | ||
126 | |||
127 | diff --git a/vpu/Makefile b/vpu/Makefile | ||
128 | index ab6ccf1..8f3ce8e 100644 | ||
129 | --- a/vpu/Makefile | ||
130 | +++ b/vpu/Makefile | ||
131 | @@ -35,12 +35,9 @@ endif | ||
132 | %.o: %.c | ||
133 | $(CC) -D$(PLATFORM) -Wall -O2 -fPIC -c $^ -o $@ | ||
134 | |||
135 | -$(LIBNAME).so.$(SONAMEVERSION): $(OBJ) | ||
136 | +$(LIBNAME).so: $(OBJ) | ||
137 | $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ | ||
138 | |||
139 | -$(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
140 | - ln -s $< $@ | ||
141 | - | ||
142 | $(LIBNAME).a: $(OBJ) | ||
143 | $(AR) -rc $@ $^ | ||
144 | |||
145 | -- | ||
146 | 1.7.5.4 | ||
147 | |||
diff --git a/recipes-multimedia/fsl-mm-core/imx-lib_11.05.01.bb b/recipes-multimedia/fsl-mm-core/imx-lib_11.09.01.bb index cb14753..4512c15 100644 --- a/recipes-multimedia/fsl-mm-core/imx-lib_11.05.01.bb +++ b/recipes-multimedia/fsl-mm-core/imx-lib_11.09.01.bb | |||
@@ -5,13 +5,14 @@ DESCRIPTION = "Platform specific libraries for imx platform" | |||
5 | LICENSE = "LGPL" | 5 | LICENSE = "LGPL" |
6 | SECTION = "multimedia" | 6 | SECTION = "multimedia" |
7 | DEPENDS = "virtual/kernel" | 7 | DEPENDS = "virtual/kernel" |
8 | PR = "r3" | 8 | PR = "r0" |
9 | 9 | ||
10 | LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e" | 10 | LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e" |
11 | 11 | ||
12 | SRC_URI = "http://auslxsc01.mtwk.freescale.net/ppp/${PN}-${PV}.tar.gz" | 12 | SRC_URI = "file://${PN}-${PV}.tar.gz \ |
13 | SRC_URI[md5sum] = "67e1be286abbee3529fc55cdf2b4cd51" | 13 | file://imx-lib-remove-shared-libs-symlinks.patch" |
14 | SRC_URI[sha256sum] = "063e722e8abc6f2e90afde1338f213b92bc1187a7a741ec04df22851cc952e29" | 14 | SRC_URI[md5sum] = "45574f8f32f7000ca11d585fa60dea8c" |
15 | SRC_URI[sha256sum] = "f151a8bb3099b596b5834a1139c19e526802e6a0aa965018d16375e7e1f48f27" | ||
15 | 16 | ||
16 | # override parallel make flags | 17 | # override parallel make flags |
17 | PARALLEL_MAKE="-j 1" | 18 | PARALLEL_MAKE="-j 1" |
@@ -28,5 +29,5 @@ do_install () { | |||
28 | } | 29 | } |
29 | 30 | ||
30 | FILES_${PN} += "${libdir}/*.so" | 31 | FILES_${PN} += "${libdir}/*.so" |
31 | FILES_${PN}-dbg += "${libdir}/.debug" | 32 | FILES_${PN}-dbg += "${libdir}/.debug" |
32 | FILES_${PN}-devstatic += "${libdir}/*.la ${libdir}/*.a" | 33 | FILES_${PN}-dev += "${libdir}/*.la ${libdir}/*.a" |