diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2020-02-20 18:52:34 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-03-15 13:30:34 -0700 |
commit | 60d819329833d5efaabf131bf4b15c2f1316b484 (patch) | |
tree | 1e5cb45273e9935518147bb59e472bf964733935 /meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_git.bb | |
parent | 861e85453dc8b8249c0318bc9b4f48018abe0f3e (diff) | |
download | meta-openembedded-60d819329833d5efaabf131bf4b15c2f1316b484.tar.gz |
s3c24xx-gpio, s3c64xx-gpio, sjf2410-linux-native, usbpath, wmiconfig: use git fetcher instead of svn fetcher
* svn checkouts from http://svn.openmoko.org/ are now redirected to github:
svn --non-interactive --trust-server-cert co --no-auth-cache --ignore-externals -r 4949 http://svn.openmoko.org/trunk/src/target/gpio@4949 gpio
Redirecting to URL 'https://github.com/openmoko/openmoko-svn':
A gpio/branches
A gpio/branches/oe
A gpio/branches/oe/pre-20070305
A gpio/branches/oe/pre-20070305/README
A gpio/branches/oe/pre-20070305/classes
A gpio/branches/oe/pre-20070305/classes/autotools.bbclass
A gpio/branches/oe/pre-20070305/classes/base.bbclass
A gpio/branches/oe/pre-20070305/classes/openmoko-base.bbclass
A gpio/branches/oe/pre-20070305/classes/openmoko-panel-plugin.bbclass
* unfortunately this is causing the checkout to start from trunk, not the
subdirectory specified in the URL (e.g. /trunk/src/target/gpio) and then
S variable points to incorrect directory as discussed here:
http://lists.openembedded.org/pipermail/openembedded-devel/2020-February/205028.html
* use git fetcher directly to remove the dependency on subversion-native
* for simplicity use the same SRCREV and PV for all of these, there wasn't any
commit in last 8 years (not anyone can expect new commits), I don't
expect anyone nowadays actually using these recipes which I've imported
from meta-smartphone in 2011 - that's why I will send their removal in
follow-up commit.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6902dcd2edc3a08f6929e19e9a9c18493883f9d2)
[ak: fixes build issue
WARNING: s3c24xx-gpio-1.0+svnr4949-r2 do_populate_lic: Could not copy license file /home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/gpio/gpio.c to /home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/license-destdir/s3c24xx-gpio/gpio.c: [Errno 2] No such file or directory: '/home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/gpio/gpio.c'
ERROR: s3c24xx-gpio-1.0+svnr4949-r2 do_populate_lic: QA Issue: s3c24xx-gpio: LIC_FILES_CHKSUM points to an invalid file: /home/build/builds/zeus/tmp-glibc/work/core2-64-oe-linux/s3c24xx-gpio/1.0+svnr4949-r2/gpio/gpio.c [license-checksum]
]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_git.bb')
-rw-r--r-- | meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_git.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_git.bb b/meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_git.bb new file mode 100644 index 000000000..98573a062 --- /dev/null +++ b/meta-oe/recipes-support/samsung-soc-utils/s3c24xx-gpio_git.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "A user-space tool to show and modify the state of GPIOs on the S3c24xx platform" | ||
2 | SECTION = "console/utils" | ||
3 | AUTHOR = "Werner Almesberger <werner@openmoko.org>" | ||
4 | LICENSE = "GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://gpio.c;endline=12;md5=cfb91c686857b2e60852b4925d90a3e1" | ||
6 | PV = "1.0+git${SRCPV}" | ||
7 | |||
8 | SRCREV = "0bde889e6fc09a330d0e0b9eb9808b20b2bf13d1" | ||
9 | SRC_URI = "git://github.com/openmoko/openmoko-svn.git;protocol=https;subpath=src/target/gpio" | ||
10 | S = "${WORKDIR}/gpio" | ||
11 | |||
12 | CLEANBROKEN = "1" | ||
13 | |||
14 | do_compile() { | ||
15 | ${CC} ${CFLAGS} ${LDFLAGS} -o ${PN} gpio.c | ||
16 | } | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${sbindir} | ||
20 | install -m 0755 ${PN} ${D}${sbindir} | ||
21 | } | ||