From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com ([143.182.124.21]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SjuZT-0001h2-PA for openembedded-core@lists.openembedded.org; Wed, 27 Jun 2012 17:54:23 +0200 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 27 Jun 2012 08:43:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="161344501" Received: from unknown (HELO swold-mobl.bigsur.com) ([10.255.12.182]) by azsmga001.ch.intel.com with ESMTP; 27 Jun 2012 08:43:27 -0700 From: Saul Wold To: openembedded-core@lists.openembedded.org Date: Wed, 27 Jun 2012 08:43:07 -0700 Message-Id: <2a4ab6fc2ef10202d13568aba5d7633e88aa71e5.1340811559.git.sgw@linux.intel.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: References: In-Reply-To: References: Subject: [CONSOLIDATED PULL 02/20] mtd-utils: do not stage headers in sysroot X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 15:54:24 -0000 From: Andrea Adami * Headers are included in the package for compatibility * but have not yet been synched with linux 3.0 * The actual issue was that ubi-user.h in sysroot * was overwritten by the older version. * Unfortunately one ioctl was renamed: * http://lists.infradead.org/pipermail/linux-mtd/ * 2011-March/034419.html * Note: the recipe will still use its own older header, * following upstream. Signed-off-by: Andrea Adami --- meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb index daa3554..1a9d4d3 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb @@ -11,16 +11,12 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=ca39eb1d98e736 S = "${WORKDIR}/git/" -PR = "r0" +PR = "r1" EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" do_install () { oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} - install -d ${D}${includedir}/mtd/ - for f in ${S}/include/mtd/*.h; do - install -m 0644 $f ${D}${includedir}/mtd/ - done } PARALLEL_MAKE = "" -- 1.7.7.6