From patchwork Wed Mar 16 14:28:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 598426 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 3qQDPZ3KCJz9t5g for ; Thu, 17 Mar 2016 01:28:50 +1100 (AEDT) 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=D4cm+Wxq; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 934B5338B7; Wed, 16 Mar 2016 14:28:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c7Xtx84jxr3L; Wed, 16 Mar 2016 14:28:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8E3FF3324D; Wed, 16 Mar 2016 14:28:36 +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 D75CE1C1209 for ; Wed, 16 Mar 2016 14:28:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D23878ACD1 for ; Wed, 16 Mar 2016 14:28:29 +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 pRRxJYMz3djz for ; Wed, 16 Mar 2016 14:28:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7DE9F91E3C for ; Wed, 16 Mar 2016 14:28:27 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id p65so192673562wmp.1 for ; Wed, 16 Mar 2016 07:28:27 -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=PlmjaaWogy7tHom2pVM0R/+NUJAgFPTzqMLFHe1spIM=; b=D4cm+WxqdEQEgbnwIp8Vy9B+ucrch6dABQ6UpgM0LxzFR2U/3l1S52bn/XCj7xSlq2 OD5lwUQRWqpOyCDVqgdWz2l1QtxKcxSOWFT5cg5nNAKSnBrq/J0L7fJ2MvIOOTB2UkBk dcTxM+WW7/UxwZducEHlJvt0BIL69FZGTk792QiGWxd+7K+pnNyKbbzvrZL+6nsraj0K A18KSw0+5ivLBuJk2iQH7aR1tgoSQYgyNf3aqo3GecjDlCFesf1yARpDpMmuycSC73E6 XtWw3O90Cj9O3WlEn/FZnO4wMLFwE4VpFBEMGa+yXnbLHCiw63vVbGOa1peJIYA3gW6y nNlg== 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=PlmjaaWogy7tHom2pVM0R/+NUJAgFPTzqMLFHe1spIM=; b=ZJi8M+/kIJWSlr0ZGyGdvYuG/3P1mGDYy6J7E65m65MuCGT5yPenmwkLdgec5DUdD2 mpqaTsKnjq+0sq2nQOgCBdrasQN9gjE0kXWFOZJJeW3UMTKzR0lj1UB4YzdWAJF7EhpH Ue3raCJCy5uiL25T3kuPww05fQXG/m8q0O7h5D07WDqvVn6vG5ly8U0Cdsb4/QG4pZHX rSAmaoSc2QI2RiJmRSju2kjPZVVp9F9FyqJ3AYOHYSQI8tj9wdalDlKi56y6fH0hyVYv Ru2gsDt5h15T7LkDbhxVSglsZX6knyLP47p6DSFfLyeYRYkeWxrvYx0aJlZmqlLoX+Fj oipg== X-Gm-Message-State: AD7BkJKCEgWzSVS/deyis9mBj6VbbHdMerMlbL6sms7iPOOym9kuxLN6fslKbSlYRR8yew== X-Received: by 10.194.2.41 with SMTP id 9mr4595013wjr.10.1458138506246; Wed, 16 Mar 2016 07:28:26 -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 n66sm3763729wmg.20.2016.03.16.07.28.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Mar 2016 07:28:25 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Wed, 16 Mar 2016 15:28:11 +0100 Message-Id: <1458138493-12172-3-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1458138493-12172-1-git-send-email-gary.bisson@boundarydevices.com> References: <1458138493-12172-1-git-send-email-gary.bisson@boundarydevices.com> Cc: yann.morin.1998@free.fr, jezz@sysmic.org Subject: [Buildroot] [PATCH v3 2/4] libfslcodec: 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 proper configuration is setup. BR2_ARM_EABIHF=y BR2_PACKAGE_IMX_VPU=y See Yocto equivalent: https://github.com/Freescale/meta-fsl-arm/blob/fido/recipes- multimedia/libfslcodec/libfslcodec.inc Tested with the Linaro ARM 2015.11 toolchain. 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/libfslcodec/libfslcodec.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/libfslcodec/libfslcodec.mk b/package/libfslcodec/libfslcodec.mk index 89d058c..f702ce6 100644 --- a/package/libfslcodec/libfslcodec.mk +++ b/package/libfslcodec/libfslcodec.mk @@ -13,6 +13,14 @@ LIBFSLCODEC_LICENSE = Freescale Semiconductor Software License Agreement, BSD-3c LIBFSLCODEC_LICENSE_FILES = EULA COPYING LIBFSLCODEC_REDISTRIBUTE = NO +ifeq ($(BR2_ARM_EABIHF),y) +LIBFSLCODEC_CONF_OPTS += --enable-fhw +endif + +ifeq ($(BR2_PACKAGE_IMX_VPU),y) +LIBFSLCODEC_CONF_OPTS += --enable-vpu +endif + define LIBFSLCODEC_EXTRACT_CMDS $(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(LIBFSLCODEC_SOURCE)) endef