From patchwork Thu Dec 10 13:52:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 555141 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 AC283140297 for ; Fri, 11 Dec 2015 00:53:10 +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=XPqx7rUD; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AF15D33B69; Thu, 10 Dec 2015 13:53:07 +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 5zbaUT1jsH5F; Thu, 10 Dec 2015 13:52:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E1F8333AF6; Thu, 10 Dec 2015 13:52:53 +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 E26881C0DBE for ; Thu, 10 Dec 2015 13:52:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DDAE0924F9 for ; Thu, 10 Dec 2015 13:52:51 +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 K0UnJaFhGG+i for ; Thu, 10 Dec 2015 13:52:51 +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 0E187924D5 for ; Thu, 10 Dec 2015 13:52:51 +0000 (UTC) Received: by wmww144 with SMTP id w144so25641932wmw.0 for ; Thu, 10 Dec 2015 05:52:49 -0800 (PST) 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=ETL1PkErDbHA6sDSUph6g/YsDd1BZtJhpJF3dHIU6oE=; b=XPqx7rUDvj0voACLAyWWukwW93EwxIwzpKn5Fh+iMDKDmMTGRL3CKFJJFp1T1zYMME MV6rSHfL7yBAX3QdJeebqt2hRax2aYWc97gmNsb+6tXEAWFiD+T/Je+eZYeBSwJ1lunS jzcZ1FPpAbtsWorcd/L+7HGgjnht7sHtSGHy60sRs95d5WCgbyYVEXxJA6JRWLd+mN5R vNX9+wLOGDOfd1WzeBMzUTsZ4kejJkxrTmMRx/RaYuZw9zN2PcK8pDExUo0p72pDt3fG xI5Pvk+nOOcZCHNpkF5eqUzFsewu8uYXl9/4bdK3vzlGqnL2aewNhSw3i9KC6X0IcwPL CDug== 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=ETL1PkErDbHA6sDSUph6g/YsDd1BZtJhpJF3dHIU6oE=; b=Iz1hKtUjPB3yQ2jLEMeZPdzd8NsLhRDUIra4DBuPvu8Sn9ouw+yYK582okaKomSO2m BVfZkUooTXeSVGsTkbW79G6UUVHacC7Zn6nvt1JSntGSuo0SWxSP+6WPf3byxxvM0d0+ u5JTouz3FulfZDfcWI9JD+WZy0yi7pxpTDShauFHCmiIMo5SkozCj6CJMteJZOw2K9Hg KaHalBv74QJI3gcRBeuyjJua3LbyeXhVSbClf3P1IhLCE4yfmsgu3b7iNay+TglHVAbH O5Kw9ZkmPaL3G/K2THtoDmV0kLb+h33wDIUtJxHyoLnOpbfUPcm+hmJVoXGQ+6P1VPde VoSg== X-Gm-Message-State: ALoCoQk1iXgG04MQx3doBRQ4mY3HzI3EvrywbUeaupIpqaOJqg2FLDcPXUFJFJVboFPLV+eNj/W6+u7wLIbhatDma39l76NXNw== X-Received: by 10.194.115.129 with SMTP id jo1mr13241880wjb.28.1449755569553; Thu, 10 Dec 2015 05:52:49 -0800 (PST) Received: from t450s.lan (89-92-99-128.hfc.dyn.abo.bbox.fr. [89.92.99.128]) by smtp.googlemail.com with ESMTPSA id r74sm981563wmb.2.2015.12.10.05.52.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Dec 2015 05:52:49 -0800 (PST) From: Gary Bisson To: buildroot@busybox.net Date: Thu, 10 Dec 2015 14:52:38 +0100 Message-Id: <1449755560-2911-3-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1449755560-2911-1-git-send-email-gary.bisson@boundarydevices.com> References: <1449755560-2911-1-git-send-email-gary.bisson@boundarydevices.com> Cc: thomas.petazzoni@free-electrons.com, jezz@sysmic.org Subject: [Buildroot] [PATCH v2 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 2014.09 toolchain. Signed-off-by: Gary Bisson --- Thanks to those options, I could see that: - 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 f8c6aa8..05e5edb 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