From patchwork Thu Oct 29 20:06:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 537997 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]) by ozlabs.org (Postfix) with ESMTP id A946C141325 for ; Fri, 30 Oct 2015 07:13:14 +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=UJPmHdez; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C6F10A3F12; Thu, 29 Oct 2015 20:13:13 +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 9Pcu7jOsIExh; Thu, 29 Oct 2015 20:13:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id F008EA3EFA; Thu, 29 Oct 2015 20:13:10 +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 F1BAA1C0110 for ; Thu, 29 Oct 2015 20:13:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EC913911CA for ; Thu, 29 Oct 2015 20:13:09 +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 yGh2+Gdz2DDz for ; Thu, 29 Oct 2015 20:13:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by whitealder.osuosl.org (Postfix) with ESMTPS id 19AC0911E0 for ; Thu, 29 Oct 2015 20:13:09 +0000 (UTC) Received: by wmll128 with SMTP id l128so31968075wml.0 for ; Thu, 29 Oct 2015 13:13:07 -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=rRZXgMX5eF7dkJN5r8W/+Lgr3LlEPmyBflcnRqsKNNE=; b=UJPmHdezbrTISzF5Zh7FdvXTls11Rsd3BTd9Pe9oby50yJGGC3GafjUg77xSE5wjta zsh/4KX9aeH2V+UuWa0Uf4R2O83pZkxWM9PV66DNuxOd1uu6AM2TzfEuxC3ZHyhHMGc9 sSjDhN5CB9rfjV3dtfZa7Q7i+HD4SB6Kn0KqIF+Q2oWAyw+ntx6xTwyiu6oRXSkfY27t k/1bnkfV65L4QwGsMmcefT8fPsdJ31pnwSkXPMnN3x3L+xc3HEQhmwJJrsKtkqBnJYU6 77p5q2YHwuNn/rT0ftxE8lhtEefwDjB2uq6g6TvQ9cyi78xv4EHfOVgA3oH6+w+o3HtT /pxQ== 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=rRZXgMX5eF7dkJN5r8W/+Lgr3LlEPmyBflcnRqsKNNE=; b=MzcoMVuAszhW47ewSX/8xbmT2QFyDWzE+ROb/f+y32IQD6FsHCXPlTzh73Z97joQSp E01j5LnAEZXS+FQt2+AlLCzvb3GlSrf1Eu7OTK4gbqspwrH5IabcKM2C8v/fjc1TY/jD 1mhPGRq189Owltak0hlUsT/T9Symd5oqm74IGWUITqos3+HOLHjepJ8o4sjpVrEy+kWw SGhUVc1JicUg0VxjFWUak3LqLX4SH9qM8nBYIlvrpq78b13u98axLdCmsBKKXuYJq4Ix CV+xl7i1eRTsnuqFB/bXQW7nhlQC7uY3HURvd89zvOpnVnRfL9XA6bKC9/Z9P25qLGc3 ABmA== X-Gm-Message-State: ALoCoQnNvhDV9N0flxyioNftch7BgpDsewX2+U0S/Yg0CNdGGWaPbdkcABuY+MtPs5dNzAFu/CdA X-Received: by 10.28.12.11 with SMTP id 11mr5635422wmm.99.1446149234079; Thu, 29 Oct 2015 13:07:14 -0700 (PDT) Received: from t450s.lan (89-92-157-132.hfc.dyn.abo.bbox.fr. [89.92.157.132]) by smtp.googlemail.com with ESMTPSA id vr10sm3407259wjc.38.2015.10.29.13.07.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Oct 2015 13:07:13 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Thu, 29 Oct 2015 21:06:50 +0100 Message-Id: <1446149212-12048-3-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1446149212-12048-1-git-send-email-gary.bisson@boundarydevices.com> References: <1446149212-12048-1-git-send-email-gary.bisson@boundarydevices.com> Cc: thomas.petazzoni@free-electrons.com, jezz@sysmic.org Subject: [Buildroot] [PATCH 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 4d8fd18..ae68bdd 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