From patchwork Thu Apr 20 16:39:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 97834 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp883993qgf; Thu, 20 Apr 2017 09:39:49 -0700 (PDT) X-Received: by 10.84.222.9 with SMTP id w9mr11260510pls.89.1492706389206; Thu, 20 Apr 2017 09:39:49 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 139si6904110pge.285.2017.04.20.09.39.48; Thu, 20 Apr 2017 09:39:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 68E3177819; Thu, 20 Apr 2017 16:39:40 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-yb0-f194.google.com (mail-yb0-f194.google.com [209.85.213.194]) by mail.openembedded.org (Postfix) with ESMTP id 4CDC06FEFE for ; Thu, 20 Apr 2017 16:39:36 +0000 (UTC) Received: by mail-yb0-f194.google.com with SMTP id l192so3906176ybl.1 for ; Thu, 20 Apr 2017 09:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=jHstid8/QA+vAlK2RviQV3wDxXDU1AeJ6seGqFQs4Pw=; b=j7WQCYc3QWzO2V3EIl2J9Usfg6vp0ybdBvnpeKvp8KAQi1NjqpZmR2EIPR40yetd8e 8O1y6odUQv6XKKhFFMZXT2MCC6wAPxx5KPnnRkY+DAHWfs91iRcJCjPdYS2pKEqbMOnK eJ13jWAUnAjXYRu0kuXUyQEZ9aKE/ff3m3I+000v/lLE6fvnrwuGLWUYWjmzwBsE0PH/ 9HTSD6XEPkxh6gR67MTwLCVDh1HmmBZgiu4hIKMB0lpquKioK1F64pv8fOEc0mxfrS+b rvOHTegjzyMKJEsjSIx6vXb4QQAzw+q4nHZ2igC+jMPT8OV+3Im1Uh4gbom7BbE8h1Ze wO5Q== 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; bh=jHstid8/QA+vAlK2RviQV3wDxXDU1AeJ6seGqFQs4Pw=; b=m7xgWDwNoV+YXyc2Ais41HJGR0ZKKY29N12aXi0BaZOICysICm8yyqlZosY91t4ph2 5N41IGoCepG+MPbFiUcDlMLn2AAEw/mwFZAR0ZTN5+IhHf06zH91G8sF8R4Wx23wxUwv Bu5/kewOIAT9pp7orO7UiqlxBAaq6y3cRH19ijKHKk1EDTtFMhcjbOGithhWBGaA26bB yaNLwoVD/LDH7rwSbmZ+gg8hZTv2jyiXD63kszWt5oXTW847ZGDSqvVQCpT25o826+y3 Q5S/t/xOFVpibLhUXSRuoR0jIobnUTwF9oTVhXcxeYqN0S+zacJZiO02hzE5N8vl4qzv N5Pg== X-Gm-Message-State: AN3rC/5hjuQTaGAh50/RAAW2wT2jTyocKBfsj5t2a+Conf5wjiSnPMTa Sz4gsYlzF6y7xQ== X-Received: by 10.98.200.136 with SMTP id i8mr8667796pfk.154.1492706378111; Thu, 20 Apr 2017 09:39:38 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id a21sm11501671pfc.60.2017.04.20.09.39.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 09:39:37 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 20 Apr 2017 09:39:25 -0700 Message-Id: <20170420163926.20793-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 Subject: [oe] [meta-oe][PATCH 1/2] ne10: Fix build errors on cortex-a7 cpus X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org GCC7 warns and errors about incompatible cmdline switches for mcpu and march Signed-off-by: Khem Raj --- .../ne10/0001-Dont-specify-march-explicitly.patch | 38 ++++++++++++++++++++++ meta-oe/recipes-support/ne10/ne10_1.2.1.bb | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/ne10/ne10/0001-Dont-specify-march-explicitly.patch -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/ne10/ne10/0001-Dont-specify-march-explicitly.patch b/meta-oe/recipes-support/ne10/ne10/0001-Dont-specify-march-explicitly.patch new file mode 100644 index 000000000..a8fea82dc --- /dev/null +++ b/meta-oe/recipes-support/ne10/ne10/0001-Dont-specify-march-explicitly.patch @@ -0,0 +1,38 @@ +From 66d332e4b631eef800c6f62cd347b164ee3b59d4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 19 Apr 2017 10:11:21 -0700 +Subject: [PATCH] Dont specify -march explicitly + +it assumes armv7-a for all armv7 based machines but that may +not be true e.g. machines based on armv7ve and cortexa-7 +it causes conflicts in OE builds because it specifies -march +in recipes anyway so this is redundant in CMakeLists.txt + +Fixes + +| cc1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch +| cc1: warning: switch -mcpu=cortex-a7 conflicts with -march=armv7-a switch + +Signed-off-by: Khem Raj +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 68da920..a4b94b9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -138,8 +138,8 @@ if(ANDROID_PLATFORM) + ${CMAKE_C_FLAGS}") + elseif(GNULINUX_PLATFORM) + if("${NE10_TARGET_ARCH}" STREQUAL "armv7") +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthumb -march=armv7-a -mfpu=vfp3 -funsafe-math-optimizations") +- set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -mthumb -march=armv7-a -mfpu=neon") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthumb -mfpu=vfp3 -funsafe-math-optimizations") ++ set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -mthumb -mfpu=neon") + # Turn on asm optimization for Linux on ARM v7. + set(NE10_ASM_OPTIMIZATION on) + endif() +-- +2.12.2 + diff --git a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb index 951086f77..e5b50ce75 100644 --- a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb +++ b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb @@ -6,7 +6,8 @@ SECTION = "libs" SRC_URI = "git://github.com/projectNe10/Ne10.git \ file://0001-CMakeLists.txt-Remove-mthumb-interwork.patch \ -" + file://0001-Dont-specify-march-explicitly.patch \ + " SRCREV = "18c4c982a595dad069cd8df4932aefb1d257591f" S = "${WORKDIR}/git" From patchwork Thu Apr 20 16:39:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 97835 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp884226qgf; Thu, 20 Apr 2017 09:40:24 -0700 (PDT) X-Received: by 10.84.177.164 with SMTP id x33mr11095546plb.147.1492706424830; Thu, 20 Apr 2017 09:40:24 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l126si6931763pga.13.2017.04.20.09.40.24; Thu, 20 Apr 2017 09:40:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9864277980; Thu, 20 Apr 2017 16:40:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-yb0-f196.google.com (mail-yb0-f196.google.com [209.85.213.196]) by mail.openembedded.org (Postfix) with ESMTP id 83FC06FEFE for ; Thu, 20 Apr 2017 16:39:38 +0000 (UTC) Received: by mail-yb0-f196.google.com with SMTP id 19so4482998ybl.2 for ; Thu, 20 Apr 2017 09:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jqvzO00eCMWs0GENq9AqXcz7pojlNbPz7jGEnVPhYNI=; b=rO/Vf86FKE8EP0IqZBWj6DWUOTUji/KqpM3sNnMigPFEVae1chy2PkAUZSqqQt52jk 4+R27e7nuZD+2vPGbDt+WyIkATWgwYRekptf+K1MexWesBdUU2SBjlj+iFH47zdRKu1U JWonuQpOeSE1kKtURAmOChsWU2IdqMdOSDb9tDnDKOxfqxrwJPB+1CDIS5XjOtMETaLO VMd0teOc8R/JD2uILWyWLQm+B25lJ18o7m0XaI6kVCzgGoH4UnFzr5OeE8d2KVnKy60t p2Y3dbkuBGkeFs4NDoWzxI6qGEfdTIvU97Zc1gtIDHQ6KsOBDejkzlti7xdGAdz6E4AK qAMw== 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; bh=jqvzO00eCMWs0GENq9AqXcz7pojlNbPz7jGEnVPhYNI=; b=nCXv0h72oQNzHgbG/CJLEcdSKZhyRQQ2Y8wAOOcnSUSbtyG2vQlFvEO+oGBKruc9ZT bLDZXPyfDul4cePPDuGcEHmaOCjoBuILUA/LPMZtL05b6dMWJAHvOG5lKUlnMrrTw/cj WdmuG/h5NIrlLkKZXGVD1/T128ECTkVy7CxnBglqs0mVNtyacjKQHdAOMyvdsLIztCbG pPHZ+b/iPGDE2YqUz8i0PveIezMOZNVzxKWx5TtqXPJSDwwO5qyAEt0UDIGsr3WT2hUr BaS1IIL1UroDSLP3NCfdcmDCTU/oNK/10h4a/zm8bm+f1JhhtTQm8m6R9BEky4Z4JIj7 kK/w== X-Gm-Message-State: AN3rC/5KiEKYoa9y6XoNzeQbvLvJODzNUBhTRQftQeRMiRCKMlMq8MDv ftbUxsxr5Vk1Ag== X-Received: by 10.98.34.212 with SMTP id p81mr8784544pfj.118.1492706379442; Thu, 20 Apr 2017 09:39:39 -0700 (PDT) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id a21sm11501671pfc.60.2017.04.20.09.39.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 09:39:38 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 20 Apr 2017 09:39:26 -0700 Message-Id: <20170420163926.20793-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170420163926.20793-1-raj.khem@gmail.com> References: <20170420163926.20793-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/2] live555: Update from 20130430 to 20170410 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org license checksum changed due to annual update of the copyright years Signed-off-by: Khem Raj --- meta-oe/recipes-multimedia/live555/live555.inc | 8 +++----- meta-oe/recipes-multimedia/live555/live555_20130430.bb | 7 ------- meta-oe/recipes-multimedia/live555/live555_20170410.bb | 9 +++++++++ 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 meta-oe/recipes-multimedia/live555/live555_20130430.bb create mode 100644 meta-oe/recipes-multimedia/live555/live555_20170410.bb -- 2.12.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-multimedia/live555/live555.inc b/meta-oe/recipes-multimedia/live555/live555.inc index a51619350..daae8d786 100644 --- a/meta-oe/recipes-multimedia/live555/live555.inc +++ b/meta-oe/recipes-multimedia/live555/live555.inc @@ -7,8 +7,6 @@ HOMEPAGE = "http://live.com/" LICENSE = "LGPLv3" SECTION = "devel" -INC_PR = "r1" - URLV = "${@d.getVar('PV')[0:4]}.${@d.getVar('PV')[4:6]}.${@d.getVar('PV')[6:8]}" SRC_URI = "http://www.live555.com/liveMedia/public/live.${URLV}.tar.gz \ file://config.linux-cross" @@ -28,7 +26,7 @@ do_configure() { } do_compile() { - make + oe_runmake } do_install() { @@ -48,14 +46,14 @@ do_install() { done cp ${S}/*/*.a ${D}${libdir} install -d ${D}${bindir} - for i in MPEG2TransportStreamIndexer openRTSP playSIP sapWatch testMPEG1or2AudioVideoToDarwin testMPEG1or2ProgramToTransportStream testMPEG1or2Splitter testMPEG1or2VideoReceiver testMPEG2TransportStreamTrickPlay testMPEG4VideoToDarwin testOnDemandRTSPServer testRelay testAMRAudioStreamer testDVVideoStreamer testMP3Receiver testMP3Streamer testMPEG1or2AudioVideoStreamer testMPEG1or2VideoStreamer testMPEG2TransportStreamer testMPEG4VideoStreamer testWAVAudioStreamer vobStreamer; do + for i in MPEG2TransportStreamIndexer openRTSP playSIP sapWatch testMPEG1or2ProgramToTransportStream testMPEG1or2Splitter testMPEG1or2VideoReceiver testMPEG2TransportStreamTrickPlay testOnDemandRTSPServer testRelay testAMRAudioStreamer testDVVideoStreamer testMP3Receiver testMP3Streamer testMPEG1or2AudioVideoStreamer testMPEG1or2VideoStreamer testMPEG2TransportStreamer testMPEG4VideoStreamer testWAVAudioStreamer vobStreamer; do install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/ done install -m 0755 ${S}/mediaServer/live555MediaServer ${D}${bindir}/ } PACKAGES =+ " live555-openrtsp live555-playsip live555-mediaserver" -FILES_${PN} = "${bindir}/sapWatch ${bindir}/testMPEG1or2AudioVideoToDarwin ${bindir}/testMPEG1or2ProgramToTransportStream ${bindir}/testMPEG1or2Splitter ${bindir}/testMPEG1or2VideoReceiver ${bindir}/testMPEG2TransportStreamTrickPlay ${bindir}/testMPEG4VideoToDarwin ${bindir}/testOnDemandRTSPServer ${bindir}/testRelay ${bindir}/testAMRAudioStreamer ${bindir}/testDVVideoStreamer ${bindir}/testMP3Receiver ${bindir}/testMP3Streamer ${bindir}/testMPEG1or2AudioVideoStreamer ${bindir}/testMPEG1or2VideoStreamer ${bindir}/testMPEG2TransportStreamer ${bindir}/testMPEG4VideoStreamer ${bindir}/testWAVAudioStreamer ${bindir}/vobStreamer ${bindir}/MPEG2TransportStreamIndexer" +FILES_${PN} = "${bindir}/sapWatch ${bindir}/testMPEG1or2ProgramToTransportStream ${bindir}/testMPEG1or2Splitter ${bindir}/testMPEG1or2VideoReceiver ${bindir}/testMPEG2TransportStreamTrickPlay ${bindir}/testOnDemandRTSPServer ${bindir}/testRelay ${bindir}/testAMRAudioStreamer ${bindir}/testDVVideoStreamer ${bindir}/testMP3Receiver ${bindir}/testMP3Streamer ${bindir}/testMPEG1or2AudioVideoStreamer ${bindir}/testMPEG1or2VideoStreamer ${bindir}/testMPEG2TransportStreamer ${bindir}/testMPEG4VideoStreamer ${bindir}/testWAVAudioStreamer ${bindir}/vobStreamer ${bindir}/MPEG2TransportStreamIndexer" FILES_live555-openrtsp = "${bindir}/openRTSP" FILES_live555-playsip = "${bindir}/playSIP" FILES_live555-mediaserver = "${bindir}/live555MediaServer" diff --git a/meta-oe/recipes-multimedia/live555/live555_20130430.bb b/meta-oe/recipes-multimedia/live555/live555_20130430.bb deleted file mode 100644 index f83285cff..000000000 --- a/meta-oe/recipes-multimedia/live555/live555_20130430.bb +++ /dev/null @@ -1,7 +0,0 @@ -require live555.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=68ad62c64cc6c620126241fd429e68fe" - -SRC_URI[md5sum] = "95533d91bd196e42fd748076dc244b09" -SRC_URI[sha256sum] = "e549af608c9961d85cb647bc3b99804fec0fbaf5338c1b72d057558ae5cd2aea" - diff --git a/meta-oe/recipes-multimedia/live555/live555_20170410.bb b/meta-oe/recipes-multimedia/live555/live555_20170410.bb new file mode 100644 index 000000000..27fc42987 --- /dev/null +++ b/meta-oe/recipes-multimedia/live555/live555_20170410.bb @@ -0,0 +1,9 @@ +require live555.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02 \ + " + +SRC_URI[md5sum] = "b7084a72aeb09549c8b248f8cc308841" +SRC_URI[sha256sum] = "4c37d9c828f9028403997272e49968c260385dbbaef62e28ba24faef0dda868b" +