Return-Path: Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mail.openembedded.org (Postfix) with ESMTP id 20B4560777 for ; Mon, 10 Dec 2018 22:40:01 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id c14so12197927wrr.0 for ; Mon, 10 Dec 2018 14:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ApEZjUPpWhZi13KwfhI0V3bmKuLUeWpX5yDQZLZxDNI=; b=NzTJP/4fYVJZVhhoc6zeZFCfThyqWvPYXzvg93JehUtH4SlPS8tONuLQvZZ/uIsDn6 jTj3N9o68w+7SkiiRQ0MAS/J6VsCnOw4E4D4CAqdtz6VvLxhhz4q9rpRAweJn4k8AWlh i5Cy4ZIMtMdONH+8yGKi3vO6f2UgqRr4Lh5wqJ0QcudHvFrmOQ1bkVnfzT1+q10I63mj u4MFSKFm59cFUNjwCCXzU88XtN0tYhcjehqPagE6OxVRPXJns/A4bT2e+gZYr1KW9fwZ oLm0Fmm0VzFOkof0jxzq1ZhEEgpTgygRf3O4Zc46Okwb9iwvxo7ckb+q3NcRLWCoJYye /Hrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ApEZjUPpWhZi13KwfhI0V3bmKuLUeWpX5yDQZLZxDNI=; b=t/XBcxW+oOYuslJc2MKCw5z/g2WaFRbNN5FjSqUYXuE/J3lV4cBWODF9rISq1uUKCF Bxqyp7/+AoqqXPQU/aBCO6tQdvE1wh0Sf60SWtiWvc0jUfWToqmCPH6Hx1vPDFyx1MqD D/xpaZ47cIe6wZ7D1yf9U9/fkOEYofF7W7Mpa10UCIZvus1rRJMTm+LlIQ00K52U2jMJ S6IgK/ztSJSpmUJSKdWjWCdgKzH2wvyQp6U27uPyZE5VV0PZWK3GWSHdC/Pxa0Kej64C ajinKKtG2nlcVrx/ZcfgArNJw0pZQeeYFRoxs3uDXXcmXfDCiHbtLFhp+LoY6TCEzaN6 Mwbw== X-Gm-Message-State: AA+aEWZg6Pv+6H0vDq4vpzS9vnV6Ozxelx8u2RlMKiVZscskAw89u1wA 6Ibu8V5nH+XE1ikUMVp/zU+JZhXh X-Google-Smtp-Source: AFSGD/W6zDDwUlArCkGqKMYLRpO4HDa1XU0G7b8OLCF+TL0YfTVZ0gcYeOPX1tLgYMNipGkk+yrmyw== X-Received: by 2002:adf:80cf:: with SMTP id 73mr11334799wrl.57.1544481602310; Mon, 10 Dec 2018 14:40:02 -0800 (PST) Received: from andrea-ThinkPad-T520.homenet.telecomitalia.it (host55-101-dynamic.58-82-r.retail.telecomitalia.it. [82.58.101.55]) by smtp.gmail.com with ESMTPSA id c10sm12047374wrw.49.2018.12.10.14.40.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Dec 2018 14:40:01 -0800 (PST) From: Andrea Adami To: openembedded-devel@lists.openembedded.org Date: Mon, 10 Dec 2018 23:39:36 +0100 Message-Id: <20181210223936.31201-1-andrea.adami@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [meta-initramfs][PATCH] kexec-tools-klibc: fix build for mipsel and mips64el X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2018 22:40:02 -0000 Builds with little endianness were not tested before. Fix for: purgatory.c:2:10: fatal error: limits.h: No such file or directory Signed-off-by: Andrea Adami --- meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index 25f5da48d..cc1c5518b 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb @@ -66,9 +66,12 @@ CFLAGS_x86-64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/i CFLAGS_arm_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" CFLAGS_aarch64_append = "${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" CFLAGS_mips_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" +CFLAGS_mipsel_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" CFLAGS_mips64_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" +CFLAGS_mips64el_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64" CFLAGS_powerpc_append = " ${COMMON_CFLAGS} -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32" + do_compile_prepend() { # Remove the prepackaged config.h from the source tree as it overrides # the same file generated by configure and placed in the build tree -- 2.17.1