From: Zubair Lutfullah Kakakhel Date: Tue, 8 Nov 2016 17:12:34 +0000 (+0000) Subject: mdadm: Reduce duplication in MIPS variants. X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~23635 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=714e747c6134414b4f3ada266a3d94a1136e5737;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mdadm: Reduce duplication in MIPS variants. Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel Signed-off-by: Ross Burton --- diff --git a/meta/recipes-extended/mdadm/mdadm_3.4.bb b/meta/recipes-extended/mdadm/mdadm_3.4.bb index 261054e7605..d34b8850769 100644 --- a/meta/recipes-extended/mdadm/mdadm_3.4.bb +++ b/meta/recipes-extended/mdadm/mdadm_3.4.bb @@ -34,8 +34,8 @@ EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}"' # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get # int-ll64.h included CFLAGS_append_powerpc64 = ' -D__SANE_USERSPACE_TYPES__' -CFLAGS_append_mips64 = ' -D__SANE_USERSPACE_TYPES__' -CFLAGS_append_mips64n32 = ' -D__SANE_USERSPACE_TYPES__' +CFLAGS_append_mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' +CFLAGS_append_mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' do_compile() { oe_runmake SYSROOT="${STAGING_DIR_TARGET}"