summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-09-05 20:48:47 -0700
committerKhem Raj <raj.khem@gmail.com>2018-10-14 11:14:35 -0700
commit5559ea533dd2ee5a6d5f10ec8cb2b244ce7f9e65 (patch)
tree395ebb7381439dc742a7d67915ed5b1b2ba4ecb4 /meta-oe
parentd7d0cc5227d0dc7d3ff91ded9da841d65c3f3632 (diff)
downloadmeta-openembedded-5559ea533dd2ee5a6d5f10ec8cb2b244ce7f9e65.tar.gz
cpuid: upgrade 20170122 -> 20180519
- Remove upstreamed patch - Create directory and install file in single install operation Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/cpuid/cpuid_20180519.bb (renamed from meta-oe/recipes-devtools/cpuid/cpuid_20170122.bb)12
-rw-r--r--meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch24
2 files changed, 5 insertions, 31 deletions
diff --git a/meta-oe/recipes-devtools/cpuid/cpuid_20170122.bb b/meta-oe/recipes-devtools/cpuid/cpuid_20180519.bb
index 5dd1bdd4e..533a00026 100644
--- a/meta-oe/recipes-devtools/cpuid/cpuid_20170122.bb
+++ b/meta-oe/recipes-devtools/cpuid/cpuid_20180519.bb
@@ -7,17 +7,15 @@ LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8 8
9SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \ 9SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \
10 file://0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch" 10 "
11SRC_URI[md5sum] = "1c46a6662626c5a6eaca626f23a5a7d7" 11SRC_URI[md5sum] = "b3b4e44ef49575043a91def0207dcc76"
12SRC_URI[sha256sum] = "667612aae6704341dd10844e97c84c5c5c8700817a5937a3c293b55013bc4865" 12SRC_URI[sha256sum] = "967823be36f23cbc972eb0aa882d069c1d155a5978990ac3bcf425e6a2e7ff9a"
13 13
14COMPATIBLE_HOST = "(i.86|x86_64).*-linux" 14COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
15 15
16# The install rule from the Makefile has hardcoded paths, so we duplicate 16# The install rule from the Makefile has hardcoded paths, so we duplicate
17# the actions to accommodate different paths. 17# the actions to accommodate different paths.
18do_install () { 18do_install () {
19 install -d -m755 ${D}/${bindir} 19 install -D -m 0755 ${B}/cpuid ${D}/${bindir}/cpuid
20 install -m755 ${B}/cpuid ${D}/${bindir}/cpuid 20 install -D -m 0444 ${B}/cpuid.man.gz ${D}/${mandir}
21 install -d -m755 ${D}/${mandir}
22 install -m444 ${B}/cpuid.man.gz ${D}/${mandir}
23} 21}
diff --git a/meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch b/meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch
deleted file mode 100644
index 985182e3b..000000000
--- a/meta-oe/recipes-devtools/cpuid/files/0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1From 2693a499d4eec4504962e85a9713fa6431d3025f Mon Sep 17 00:00:00 2001
2From: Avinash Reddy Palleti <avinash.reddy.palleti@intel.com>
3Date: Thu, 16 Aug 2018 22:36:31 +0530
4Subject: [PATCH] Fix: Add sys/sysmacros.h to fix build issue
5
6---
7 cpuid.c | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/cpuid.c b/cpuid.c
11index 3c94837..0a98616 100644
12--- a/cpuid.c
13+++ b/cpuid.c
14@@ -31,6 +31,7 @@
15 #include <stdio.h>
16 #include <sys/types.h>
17 #include <sys/stat.h>
18+#include <sys/sysmacros.h>
19 #include <fcntl.h>
20 #include <errno.h>
21 #include <unistd.h>
22--
232.7.4
24