From patchwork Fri Feb 21 20:48:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1242333 X-Patchwork-Delegate: yamada.m@jp.panasonic.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=konsulko.com 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48PNpc2sg5z9sNg for ; Sat, 22 Feb 2020 07:48:37 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF7F581C3D; Fri, 21 Feb 2020 21:48:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id A1AE981C43; Fri, 21 Feb 2020 21:48:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yw1-f65.google.com (mail-yw1-f65.google.com [209.85.161.65]) (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 CBD2581A2F for ; Fri, 21 Feb 2020 21:48:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-yw1-f65.google.com with SMTP id a125so1676589ywe.12 for ; Fri, 21 Feb 2020 12:48:17 -0800 (PST) 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=GDuEGg7V+VWI4vuTb5+ZXLOlBTX/iqriDUlTSICQ03g=; b=P+1cMLptvqfqegH/xUdEmkYQ8X0GCeVDxkJ0yjXmMHSISgbUN7ZiarDEudG6MHdwDx kCJkAIT2tJmLhVIM3rKhSSTviPbF0Hbj8EN/LiRFE80+LZ8SfLta/jCNmUOcrq/OnNdD ldoBuITs3VoNwsiU4er+9j9nXKmHF4rQCkooWW6PXNpvT/67gBj3ceqFaG80JF4pQQ9U 4yn1nCM02XffzHDZN6Mfy/WYU3U6x6yikgPK9EyB1qTVOqc8OguO+5gH6rzVfRVU7Dkz u9mGlptqaUPZSCX+FdEUbtp4qRW7dWE6bRPKIUcqeG06bBR1jHd/6TDCi2VbbNOcU9QO NSLQ== X-Gm-Message-State: APjAAAX5X2nuGF2Oa6xcn4nmIQIu5gLZ591nBbSIcb629mW3ZBDXTt+j F17CjxDucx3qvmqbO2s3HMmVuss= X-Google-Smtp-Source: APXvYqwq4NZXXD9GxgPz1jEdcAJzz/8lBZD/UOMqo/h4GbSZySnb8/jtM/WuXAGglU1Iwh02OT2ucQ== X-Received: by 2002:a0d:e151:: with SMTP id k78mr31441327ywe.437.1582318094785; Fri, 21 Feb 2020 12:48:14 -0800 (PST) Received: from bill-the-cat.local (2606-a000-1401-86dd-cc53-27d3-9324-891c.inf6.spectrum.com. [2606:a000:1401:86dd:cc53:27d3:9324:891c]) by smtp.gmail.com with ESMTPSA id j72sm1806122ywj.60.2020.02.21.12.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2020 12:48:14 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Masahiro Yamada Subject: [PATCH] efi_selftest: Ensure we include the object directory for generated headers Date: Fri, 21 Feb 2020 15:48:11 -0500 Message-Id: <20200221204811.2545-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean The current rules for generating -I lines for objects gives us both -I/full/src/path/lib/efi_selftest and -Ilib/efi_selftest. However, if we re-sync the Kbuild logic we no longer get the latter implicitly. We will need to be explicit in such cases, so do so. Cc: Heinrich Schuchardt Cc: Masahiro Yamada Signed-off-by: Tom Rini Acked-by: Heinrich Schuchardt --- lib/efi_selftest/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index 3ad96e1cbf08..7d0199d634c6 100644 --- a/lib/efi_selftest/Makefile +++ b/lib/efi_selftest/Makefile @@ -12,6 +12,10 @@ CFLAGS_efi_selftest_miniapp_exit.o := $(CFLAGS_EFI) -Os -ffreestanding CFLAGS_REMOVE_efi_selftest_miniapp_exit.o := $(CFLAGS_NON_EFI) CFLAGS_efi_selftest_miniapp_return.o := $(CFLAGS_EFI) -Os -ffreestanding CFLAGS_REMOVE_efi_selftest_miniapp_return.o := $(CFLAGS_NON_EFI) +CFLAGS_efi_selftest_exception.o += -I$(objtree)/$(obj) +CFLAGS_efi_selftest_loadimage.o += -I$(objtree)/$(obj) +CFLAGS_efi_selftest_startimage_exit.o += -I$(objtree)/$(obj) +CFLAGS_efi_selftest_startimage_return.o += -I$(objtree)/$(obj) obj-y += \ efi_selftest.o \