Skip to contentSkip to conversation

kernel.bbclass: drop legacy fallback to yes '' | make oldconfig

PATCH New Andre McCurdy 1 participant 1 message Jan 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel.bbclass: drop legacy fallback to yes '' | make oldconfig

The "oldnoconfig" target has been supported since Linux 2.6.36.

According to OLDEST_KERNEL, the oldest kernel currently supported by OE is 3.2.0, so the fallback to yes '' | make oldconfig is no longer required.

---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel.bbclass +1 -1
index a36f4f9..1ecb840 100644
@@ -486,7 +486,7 @@ sysroot_stage_all () {
 	:
 }
 
-KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} oldnoconfig || yes '' | oe_runmake -C ${S} O=${B} oldconfig"
+KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} oldnoconfig"
 
 python check_oldest_kernel() {
     oldest_kernel = d.getVar('OLDEST_KERNEL')
Signature · 1 line
1.9.1