Skip to contentSkip to conversation

Pass environment to kernel make

DISCUSSION Konstantin Kletschke 1 participant 1 message Feb 12, 2022

lore
Share & tools
lore
#0 lore raw

Dear yocto community
in order to enable the option to use device tree overlays in the kernel device tree with my bootloader (barebox in this case) I need to pass an additional environment variable to the kernel (linux-yocto in my case) make command.

make dtbs DTC_FLAGS=-@

Well make dtbs is working, but DTC_FLAGS=-@ needs to be added.

Is there a best practice to do this, _append/_+= in machine or distro config or local.conf? Change kernel compile make parameters?

Regards
Konsti

Signature · 14 lines
INSIDE M2M GmbH
Konstantin Kletschke
Berenbosteler Straße 76 B
30823 Garbsen

Telefon: +49 (0) 5137 90950136
Mobil: +49 (0) 151 15256238
Fax: +49 (0) 5137 9095010

[email protected]
http://www.inside-m2m.de 

Geschäftsführung: Michael Emmert, Ingo Haase, Dr. Fred Könemann, Derek Uhlig
HRB: 111204, AG Hannover