From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 91599E0120F; Mon, 25 Jun 2018 12:33:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.216.194 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0F2E9E011EE for ; Mon, 25 Jun 2018 12:33:10 -0700 (PDT) Received: by mail-qt0-f194.google.com with SMTP id o9-v6so13042209qtp.3 for ; Mon, 25 Jun 2018 12:33:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=MYT8nUt3gdHXoDghitu8pxYMpm1YoI3FrCtyDDcfFHA=; b=c4IpyLxDKI1fhwOTOJFUyvYpIkB6nHN6UB+mLSAM3ZNpD3bFy1aa3TBn39YqMuQBGR wjQlrcyysz31xyyCa60cD8WtL9M5/M4OKQvS46ep+qZrOBhLGBzmi1VOmkhp0czi9A0/ KWyFSBwYYHvs4s57I+3cB+i7D4HwPXdmLxz6MPoJY7qTBL7UNY+dahX5QyVr+/BTVcV3 IEFK6aJ++QbQP44yfN/T37Mx7jb9dInHA390oDOiJhiGnVaRXSFRCMosTUtL97jemyKd ffBNrxvHQbUmDEPtqfcU+kvC0ujLNRaInalGDbDqdrlvD8Zr71Ui+7Y+kZbykyX6yguO oSdg== X-Gm-Message-State: APt69E2qfrQuLEm7ZAApTBDs/fOB4FVKQjmzbmQp2+BUOf5NZ4p+bY42 ZTyV8pQmVJ4whUP+YfcE3khIuw== X-Google-Smtp-Source: AAOMgpd03T5b4ASCfEv73RiRYuqlbhbzSp5EfR/CwTfVWFLS16x2XDGsLg9CkjGSvAiCTEQ3Q15pZQ== X-Received: by 2002:a0c:c683:: with SMTP id d3-v6mr12206342qvj.152.1529955189563; Mon, 25 Jun 2018 12:33:09 -0700 (PDT) Received: from localhost.localdomain ([177.194.218.61]) by smtp.gmail.com with ESMTPSA id d6-v6sm13553203qta.61.2018.06.25.12.33.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 12:33:08 -0700 (PDT) Received: by localhost.localdomain (sSMTP sendmail emulation); Mon, 25 Jun 2018 16:33:04 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Mon, 25 Jun 2018 16:30:25 -0300 Message-Id: <20180625193032.9248-25-otavio@ossystems.com.br> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180625193032.9248-1-otavio@ossystems.com.br> References: <20180625193032.9248-1-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [PATCH 25/32] imx-dpu-g2d: Add new G2D implementation based on DPU X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 19:33:47 -0000 From: Tom Hochstein Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- .../imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb diff --git a/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb new file mode 100644 index 00000000..8abbfad8 --- /dev/null +++ b/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.2.bb @@ -0,0 +1,37 @@ +# Copyright (C) 2016 Freescale Semiconductor +# Copyright 2017-2018 NXP +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "G2D graphics library and apps for i.MX with DRM" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://COPYING;md5=75abe2fa1d16ca79f87cde926f05f72d" + +RDEPENDS_${PN} = "virtual/libgal-x11 libdrm" + +PROVIDES += "virtual/libg2d" + +SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" + +S="${WORKDIR}/${PN}-${PV}" + +inherit fsl-eula-unpack + +SRC_URI[md5sum] = "9beeb2c66f1bad4e82a77487486a31c8" +SRC_URI[sha256sum] = "905e797d7fb573b5fea616940b07dc15d817fe2f5e94668f883e9faaa516989a" + +do_install () { + + install -d ${D}${libdir} + install -d ${D}${includedir} + + cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} + cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} + cp -r ${S}/gpu-demos/opt ${D} +} + +INSANE_SKIP_${PN} += "ldflags" + +FILES_${PN} = "${libdir}/libg2d* /opt" +FILES_${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" + +COMPATIBLE_MACHINE = "(mx8)" -- 2.18.0