From 7b907b95a6cbbf4cc9ef50012a0e893cd2903618 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Mon, 6 Jul 2015 22:25:15 +0300 Subject: [PATCH] omap3-sgx-modules: strip unneeded stuff saves like 1.5MB --- recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb index b9686aca03..16d5619ffd 100644 --- a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb +++ b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb @@ -43,6 +43,9 @@ MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}" do_install() { mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr + ${STRIP} --strip-unneeded ${S}/pvrsrvkm.ko + ${STRIP} --strip-unneeded ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko + ${STRIP} --strip-unneeded ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko cp ${S}/pvrsrvkm.ko \ ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ -- 2.39.5