diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-08-04 17:37:21 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-05 09:29:56 -0700 |
commit | 3b2f72f31a5e4856d7c7cdda18a0f72eb68309bf (patch) | |
tree | ace9960dec38dc3d952cb330829641a9052d59ee /meta-oe/recipes-bsp | |
parent | d572afcd08f3bedc4cf6fc9ac6e52e4f0797ccd0 (diff) | |
download | meta-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.bb | 3 |
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" | |||
28 | export udevdir = "`pkg-config --variable=udevdir udev`" | 28 | export udevdir = "`pkg-config --variable=udevdir udev`" |
29 | export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d" | 29 | export udevrulesdir = "`pkg-config --variable=udevdir udev`/rules.d" |
30 | export UDEV = "1" | 30 | export UDEV = "1" |
31 | LD = "${CC}" | ||
32 | CFLAGS =+ "-I${S}/src" | 31 | CFLAGS =+ "-I${S}/src" |
33 | CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" | 32 | CFLAGS =+ "-DPCMCIAUTILS_VERSION=\\"${PV}\\"" |
34 | 33 | ||
35 | EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex'" | 34 | EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs' 'LEX=flex' 'LD=${CC}'" |
36 | 35 | ||
37 | do_install () { | 36 | do_install () { |
38 | oe_runmake 'DESTDIR=${D}' install | 37 | oe_runmake 'DESTDIR=${D}' install |