diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-19 17:57:10 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-20 16:07:50 -0800 |
| commit | 89461fecb74a9e110e4c7d6d0878e2f7f0eac1e4 (patch) | |
| tree | 44e78df61dc5bd75bd1e9dd7a0b52450d76c92cc /meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb | |
| parent | 5a5d2cfa1b4f98b4f369ced54c0a9d03dcda1468 (diff) | |
| download | meta-openembedded-89461fecb74a9e110e4c7d6d0878e2f7f0eac1e4.tar.gz | |
lockdev: Make baselib configurable
This ensures that baselib can be passed from bitbake tasks via
environment
Refresh patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb')
| -rw-r--r-- | meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb b/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb index 5b862bd1fe..9d8800ebde 100644 --- a/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb +++ b/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb | |||
| @@ -15,15 +15,15 @@ SRC_URI[debianpatch.md5sum] = "5ef6267c42fca9145e0af006ccb6aff7" | |||
| 15 | SRC_URI[debianpatch.sha256sum] = "a5405c6ee5e97e45eeb1c81330a7e9f444a58bda5e6771fa30007516c115007e" | 15 | SRC_URI[debianpatch.sha256sum] = "a5405c6ee5e97e45eeb1c81330a7e9f444a58bda5e6771fa30007516c115007e" |
| 16 | 16 | ||
| 17 | inherit lib_package perlnative | 17 | inherit lib_package perlnative |
| 18 | export basedir="${D}${prefix}" | ||
| 19 | 18 | ||
| 20 | CFLAGS += " -D__GNU_LIBRARY__" | 19 | CFLAGS += " -D__GNU_LIBRARY__" |
| 21 | 20 | ||
| 22 | TARGET_CC_ARCH += "${LDFLAGS}" | 21 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 23 | 22 | ||
| 23 | EXTRA_OEMAKE = "basedir=${D}${prefix} baselib=${baselib} LD='${CC}' LD='${CC}'" | ||
| 24 | do_compile() { | 24 | do_compile() { |
| 25 | oe_runmake basedir=${D}${prefix} LD="${CC}" LD="${CC}" shared static | 25 | oe_runmake shared static |
| 26 | } | 26 | } |
| 27 | do_install() { | 27 | do_install() { |
| 28 | oe_runmake DESTDIR=${D} basedir=${D}${prefix} install | 28 | oe_runmake DESTDIR=${D} install |
| 29 | } | 29 | } |
