* [Buildroot] [PATCH 1/1] package/freescale-imx/imx-gpu-g2d: drop BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
@ 2023-02-24 10:53 Sébastien Szymanski
2023-02-25 9:50 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Szymanski @ 2023-02-24 10:53 UTC (permalink / raw)
To: buildroot; +Cc: Refik Tuzakli, Gary Bisson
Arm and aarch64 packages don't contain examples anymore so drop the
config option to install them to prevent build failure when selected:
>>> imx-gpu-g2d 6.4.3.p4.4-arm Installing to target
mkdir -p /home/sszy/br-test-pkg/bootlin-armv7-glibc/target/usr/share/examples/
cp -a /home/sszy/br-test-pkg/bootlin-armv7-glibc/build/imx-gpu-g2d-6.4.3.p4.4-arm/gpu-demos/opt/* /home/sszy/br-test-pkg/bootlin-armv7-glibc/target/usr/share/examples/
cp: cannot stat '/home/sszy/br-test-pkg/bootlin-armv7-glibc/build/imx-gpu-g2d-6.4.3.p4.4-arm/gpu-demos/opt/*': No such file or directory
make: *** [package/pkg-generic.mk:384: /home/sszy/br-test-pkg/bootlin-armv7-glibc/build/imx-gpu-g2d-6.4.3.p4.4-arm/.stamp_target_installed] Error 1
Fixes: b84557b588b3 ("package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.4")
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
---
Config.in.legacy | 6 ++++++
package/freescale-imx/imx-gpu-g2d/Config.in | 9 ---------
package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk | 8 --------
3 files changed, 6 insertions(+), 17 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index 7f69462f2ec1..af1d8cc1dc9f 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2023.02"
+config BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
+ bool "imx-gpu-g2d examples removed"
+ select BR2_LEGACY
+ help
+ The examples are not provided by NXP anymore.
+
config BR2_KERNEL_HEADERS_6_0
bool "kernel headers version 6.0.x are no longer supported"
select BR2_LEGACY
diff --git a/package/freescale-imx/imx-gpu-g2d/Config.in b/package/freescale-imx/imx-gpu-g2d/Config.in
index aeca087f865b..c143b17c47ff 100644
--- a/package/freescale-imx/imx-gpu-g2d/Config.in
+++ b/package/freescale-imx/imx-gpu-g2d/Config.in
@@ -18,12 +18,3 @@ config BR2_PACKAGE_IMX_GPU_G2D
This library is provided by NXP as-is and doesn't have an
upstream.
-
-if BR2_PACKAGE_IMX_GPU_G2D
-
-config BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
- bool "install examples"
- help
- Copy the Vivante G2D examples to the target.
-
-endif
diff --git a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
index d94da24d8f0e..42a1fe70cf11 100644
--- a/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
+++ b/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk
@@ -26,15 +26,7 @@ define IMX_GPU_G2D_INSTALL_STAGING_CMDS
cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr
endef
-ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y)
-define IMX_GPU_G2D_INSTALL_EXAMPLES
- mkdir -p $(TARGET_DIR)/usr/share/examples/
- cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/
-endef
-endif
-
define IMX_GPU_G2D_INSTALL_TARGET_CMDS
- $(IMX_GPU_G2D_INSTALL_EXAMPLES)
cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr
endef
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/freescale-imx/imx-gpu-g2d: drop BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
2023-02-24 10:53 [Buildroot] [PATCH 1/1] package/freescale-imx/imx-gpu-g2d: drop BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES Sébastien Szymanski
@ 2023-02-25 9:50 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-25 9:50 UTC (permalink / raw)
To: Sébastien Szymanski; +Cc: Refik Tuzakli, Gary Bisson, buildroot
On Fri, 24 Feb 2023 11:53:15 +0100
Sébastien Szymanski <sebastien.szymanski@armadeus.com> wrote:
> Arm and aarch64 packages don't contain examples anymore so drop the
> config option to install them to prevent build failure when selected:
>
> >>> imx-gpu-g2d 6.4.3.p4.4-arm Installing to target
> mkdir -p /home/sszy/br-test-pkg/bootlin-armv7-glibc/target/usr/share/examples/
> cp -a /home/sszy/br-test-pkg/bootlin-armv7-glibc/build/imx-gpu-g2d-6.4.3.p4.4-arm/gpu-demos/opt/* /home/sszy/br-test-pkg/bootlin-armv7-glibc/target/usr/share/examples/
> cp: cannot stat '/home/sszy/br-test-pkg/bootlin-armv7-glibc/build/imx-gpu-g2d-6.4.3.p4.4-arm/gpu-demos/opt/*': No such file or directory
> make: *** [package/pkg-generic.mk:384: /home/sszy/br-test-pkg/bootlin-armv7-glibc/build/imx-gpu-g2d-6.4.3.p4.4-arm/.stamp_target_installed] Error 1
>
> Fixes: b84557b588b3 ("package/freescale-imx/imx-gpu-g2d: bump version to 6.4.3.p4.4")
> Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
> ---
> Config.in.legacy | 6 ++++++
> package/freescale-imx/imx-gpu-g2d/Config.in | 9 ---------
> package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk | 8 --------
> 3 files changed, 6 insertions(+), 17 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-25 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-24 10:53 [Buildroot] [PATCH 1/1] package/freescale-imx/imx-gpu-g2d: drop BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES Sébastien Szymanski
2023-02-25 9:50 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.