Message ID | 20230430013003.1047454-10-sjg@chromium.org |
---|---|
State | Changes Requested |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=PLVuiU9M; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q883Q66lJz1ydX for <incoming@patchwork.ozlabs.org>; Sun, 30 Apr 2023 11:32:34 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A09E861FF; Sun, 30 Apr 2023 03:30:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="PLVuiU9M"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AF4A385D10; Sun, 30 Apr 2023 03:30:22 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 29C6285CD8 for <u-boot@lists.denx.de>; Sun, 30 Apr 2023 03:30:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-329560b1994so2773305ab.3 for <u-boot@lists.denx.de>; Sat, 29 Apr 2023 18:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1682818218; x=1685410218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Tlfk21//umObS/yeXZEH0S636U/FEI6PihU89ZoN2l4=; b=PLVuiU9MFm9p5jCjBEFGsxKt0E5j7KCciGqf+OUQblXmXcqYehw9+0ej3Kme6V8/Gz qpDF+Ry7nVDz986CvE+HEVuGkVy/B1eb75IwooCikcymom+xKpcGJc8X0yEau2Njyf/8 eX6DEsIJCz0yfzuaRjpFt2wSh9LPi6mMnJtUU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682818218; x=1685410218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Tlfk21//umObS/yeXZEH0S636U/FEI6PihU89ZoN2l4=; b=h5XybwIsbpMv9kdNv934JPKNpBSc7V9KTFLHW3bdc51TX+HPKyMYxVQOp5/HN8/IkX T/+BPQNq1fiB7jikjbs3hvjmZ+NyH1mxaqqOS1P6gWMm1TuuR5Mpg2MYGCbBQnrPpd9U JXdgyEYTuqOMd6OoUFwBF8o+i2oD/owj4WvgNXff8MPrCqXZZGSn7lA3VWDu2LO3yt10 kFl4fwAVMqpCj2qRFIdrqGjNLimXCGHiZuT1z/XK2gIjNQX0VkSmKEovHqetbSSoNXHd REZ2CljhEBRHxd1xD9u0uk8LuDebrCcs5P41rmTzX0FZcT4abDofxw/SbxoOUZkhp7S+ 2J9g== X-Gm-Message-State: AC+VfDwnb7daNw5/d4ckwdD/xjqIKJEf6T66oxbyS3moWDkCMGcaZmdC JpejveOQfVn7lNMM0CHmMrMuMmxiKkxqbOkmvdw= X-Google-Smtp-Source: ACHHUZ5bnABBDWMkdc+rPBkn8jb6Q214m4BwDjgOWEGAm8POZSxRqb6He88u7KpvBIV1ECrzO+wMSg== X-Received: by 2002:a5d:9286:0:b0:766:41fa:e26f with SMTP id s6-20020a5d9286000000b0076641fae26fmr6408647iom.10.1682818218676; Sat, 29 Apr 2023 18:30:18 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id w4-20020a02cf84000000b0040f8ed3ab81sm7259429jar.129.2023.04.29.18.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Apr 2023 18:30:18 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Bin Meng <bmeng.cn@gmail.com>, =?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v2 09/30] sandbox: Correct SDL.h header inclusion Date: Sat, 29 Apr 2023 19:29:42 -0600 Message-ID: <20230430013003.1047454-10-sjg@chromium.org> X-Mailer: git-send-email 2.40.1.495.gc816e09b53d-goog In-Reply-To: <20230430013003.1047454-1-sjg@chromium.org> References: <20230430013003.1047454-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Allow building sandbox with MSYS2
|
expand
|
On Sun, Apr 30, 2023 at 9:30 AM Simon Glass <sjg@chromium.org> wrote: > > We rely on sdl-config to provide the include directory for this header > file, so should not add the include directory in the C file. Drop it so > that this works as expected on Windows. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > (no changes since v1) > > arch/sandbox/cpu/sdl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng <bmeng@tinylab.org>
diff --git a/arch/sandbox/cpu/sdl.c b/arch/sandbox/cpu/sdl.c index 2c570ed8d164..31d3e9c32dec 100644 --- a/arch/sandbox/cpu/sdl.c +++ b/arch/sandbox/cpu/sdl.c @@ -7,7 +7,7 @@ #include <unistd.h> #include <stdbool.h> #include <linux/input.h> -#include <SDL2/SDL.h> +#include <SDL.h> #include <asm/state.h> /**
We rely on sdl-config to provide the include directory for this header file, so should not add the include directory in the C file. Drop it so that this works as expected on Windows. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) arch/sandbox/cpu/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)