summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-08-04 17:37:21 -0700
committerKhem Raj <raj.khem@gmail.com>2023-08-05 09:29:56 -0700
commit3b2f72f31a5e4856d7c7cdda18a0f72eb68309bf (patch)
treeace9960dec38dc3d952cb330829641a9052d59ee /meta-oe/recipes-bsp
parentd572afcd08f3bedc4cf6fc9ac6e52e4f0797ccd0 (diff)
downloadmeta-openembedded-3b2f72f31a5e4856d7c7cdda18a0f72eb68309bf.tar.gz
pcmciautils: Pass LD=CC via Make cmdline
This ensures that LD is always consistent in Makefile and it is computed independent of LD variable setting order in metadata e.g. when using meta-clang with lld the LD var maybe set to ld.ldd and this will be wrong here Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-bsp')
-rw-r--r--meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb b/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
index 42dfcd1e5..52e9b136c 100644
--- a/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
+++ b/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
@@ -28,11 +28,10 @@ export pcmciaconfdir = "${sysconfdir}/pcmcia"
28export udevdir = "`pkg-config --variable=udevdir udev`" 28export udevdir = "`pkg-config --variable=udevdir udev`"
29export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d" 29export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d"
30export UDEV = "1" 30export UDEV = "1"
31LD = "${CC}"
32CFLAGS =+ "-I${S}/src" 31CFLAGS =+ "-I${S}/src"
33CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" 32CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\""
34 33
35EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" 34EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex' 'LD=${CC}'"
36 35
37do_install () { 36do_install () {
38 oe_runmake 'DESTDIR=${D}' install 37 oe_runmake 'DESTDIR=${D}' install