From 373f5faed7bb2c616f866387a22fece03a870f2a Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Tue, 5 May 2015 14:07:16 +1000 Subject: tune-microblaze.inc: Remove SOC_FAMILY add MACHINEOVERRIDES addition * Remove the use of SOC_FAMILY in the tune-microblaze.inc include * Add "microblaze" to MACHINEOVERRIDES when the "microblaze" feature is part of TUNE_FEATURES Signed-off-by: Nathan Rossi --- conf/machine/include/tune-microblaze.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/machine/include/tune-microblaze.inc b/conf/machine/include/tune-microblaze.inc index cf65ace9..a5b6109e 100644 --- a/conf/machine/include/tune-microblaze.inc +++ b/conf/machine/include/tune-microblaze.inc @@ -1,8 +1,6 @@ DEFAULTTUNE ?= "microblaze" -SOC_FAMILY ?= "microblaze" require conf/machine/include/tune-microblaze-features.inc -require conf/machine/include/soc-family.inc TUNEVALID[microblaze] = "Microblaze" AVAILTUNES += "microblaze" @@ -10,6 +8,9 @@ AVAILTUNES += "microblaze" TUNE_FEATURES_tune-microblaze = "microblaze" PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" +# override for architecture +MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "microblaze", "microblaze:", "" ,d)}" + # Linux Configuration KERNEL_IMAGETYPE ?= "linux.bin.ub" -- cgit v1.2.3-54-g00ecf