From patchwork Wed Jul 27 13:53:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 653315 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rzxL13xxYz9t1v for ; Wed, 27 Jul 2016 23:54:01 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b=PpoZD4JH; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C0D3289E56; Wed, 27 Jul 2016 13:53:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6PI60zVTj7BS; Wed, 27 Jul 2016 13:53:58 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 81BDD89D29; Wed, 27 Jul 2016 13:53:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 561531C1574 for ; Wed, 27 Jul 2016 13:53:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5510586786 for ; Wed, 27 Jul 2016 13:53:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O5RO9061RqNW for ; Wed, 27 Jul 2016 13:53:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id AB63286AA3 for ; Wed, 27 Jul 2016 13:53:47 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id q128so213695624wma.1 for ; Wed, 27 Jul 2016 06:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Xv4G4Tjn4uzULMfbarJFYkL4tYG+cVE9aZKWTFuhPd8=; b=PpoZD4JHEDVT+uCAlPQW8DcuTB2y4QQVuINSKOeDYB2hJImRRN3Y8lQ0Mr5oE1u48y gH921Uhp3wnnqimZWolCTr71Xbxlh0KgrH5iTRJffTmyYjKP1CQURpXtJ1N3RtLec7P5 MyBIuvA9AQZcExWX/jBnD2vnzGWZHRACmwSJKw1g+X/Gxcpfu3qne+sZHSLE6qHBm5Pt 1dzPzgpskLrvMDpoCR4ma+gaU3HrIcwMfiQUbulNU3MIjweXqO9aAWNIyIakcw5Bu2bX QaoDqt/pP34leQnC8MUKD9r5shx7zje5W4ep2YiRDIr/xXglyQkH2f3khlzEoSAq9flw 5ehg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Xv4G4Tjn4uzULMfbarJFYkL4tYG+cVE9aZKWTFuhPd8=; b=OGDTlsuPtW86LAuuyOxoFYOIOhooCwCMIo8Bk475ttzAWnZyMeM/5wy56++Z5VL1HL PFb08dIUxe4zjLvZftqf808I2pwDtAsGq5z7uapTKVQLTALgaowEaAv8POfdi/W1dhGl JKEAfHzaoIyUApbY5N9RkKr/Hl1eWdoIaD+J1dqkEhpe+21vDJ9tABJjBmHJI8P21wkM DTtyrWmEKWVUO+OBhOD5wRIL+O9O9bcO4lvpCTIeqy+kP6EbcurdOGha9N+zUplbd0pS yOVuq+v5fUCPXercIafqSi1ydQqKZ42+3nocyFxwrIkc/+6gxWKLrdzGOzzzi0Xt7zB2 YcRg== X-Gm-Message-State: AEkoous/b0kfM6w1j08UVu/VB/Mom8RH6yErnu1iHpWbqbXhJN9CNXFFh4TZd8sfAcNxAQ== X-Received: by 10.194.38.166 with SMTP id h6mr28150287wjk.101.1469627626016; Wed, 27 Jul 2016 06:53:46 -0700 (PDT) Received: from t450s.lan (89-92-156-188.hfc.dyn.abo.bbox.fr. [89.92.156.188]) by smtp.googlemail.com with ESMTPSA id i7sm6510648wjg.42.2016.07.27.06.53.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 06:53:45 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Wed, 27 Jul 2016 15:53:31 +0200 Message-Id: <1469627614-29709-3-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1469627614-29709-1-git-send-email-gary.bisson@boundarydevices.com> References: <1469627614-29709-1-git-send-email-gary.bisson@boundarydevices.com> Cc: thomas.petazzoni@free-electrons.com, outforaride@gmail.com Subject: [Buildroot] [PATCH 2/5] imx-codec: add missing configure options X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Enable VPU and hard float support when the configuration contains: BR2_ARM_EABIHF=y BR2_PACKAGE_IMX_VPU=y See Yocto equivalent: https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-codec/imx-codec.inc Signed-off-by: Gary Bisson --- Thanks to those options: - lib_jpeg_dec_arm11_elinux_novpu.so isn't copied - lib_peq_arm11_elinux.so.1.fhw is copied instead of the fsw version Regards, Gary --- package/freescale-imx/imx-codec/imx-codec.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/freescale-imx/imx-codec/imx-codec.mk b/package/freescale-imx/imx-codec/imx-codec.mk index 266f47f..c5c5626 100644 --- a/package/freescale-imx/imx-codec/imx-codec.mk +++ b/package/freescale-imx/imx-codec/imx-codec.mk @@ -13,6 +13,14 @@ IMX_CODEC_LICENSE = NXP Semiconductor Software License Agreement, BSD-3c (flac, IMX_CODEC_LICENSE_FILES = EULA COPYING IMX_CODEC_REDISTRIBUTE = NO +ifeq ($(BR2_ARM_EABIHF),y) +IMX_CODEC_CONF_OPTS += --enable-fhw +endif + +ifeq ($(BR2_PACKAGE_IMX_VPU),y) +IMX_CODEC_CONF_OPTS += --enable-vpu +endif + define IMX_CODEC_EXTRACT_CMDS $(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_CODEC_SOURCE)) endef