diff mbox series

bpf: correct extra_headers

Message ID 20210928175447.8128-1-david.faust@oracle.com
State New
Headers show
Series bpf: correct extra_headers | expand

Commit Message

David Faust Sept. 28, 2021, 5:54 p.m. UTC
The BPF CO-RE support (commit 8bdabb37549f12ce727800a1c8aa182c0b1dd42a)
mistakenly overwrote bpf-*-* extra_headers in config.gcc, causing
bpf-helpers.h to not be installed. The redefinition with coreout.h is
unneeded, so delete it.

gcc/ChangeLog:

	* config.gcc (bpf-*-*): Do not overwrite extra_headers.
---
 gcc/config.gcc | 1 -
 1 file changed, 1 deletion(-)

Comments

Jose E. Marchesi Sept. 29, 2021, 3:52 a.m. UTC | #1
Hi David.

> The BPF CO-RE support (commit 8bdabb37549f12ce727800a1c8aa182c0b1dd42a)
> mistakenly overwrote bpf-*-* extra_headers in config.gcc, causing
> bpf-helpers.h to not be installed. The redefinition with coreout.h is
> unneeded, so delete it.

This is OK.
Thanks.

>
> gcc/ChangeLog:
>
> 	* config.gcc (bpf-*-*): Do not overwrite extra_headers.
> ---
>  gcc/config.gcc | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/gcc/config.gcc b/gcc/config.gcc
> index 498c51e619d..aa5bd5d1459 100644
> --- a/gcc/config.gcc
> +++ b/gcc/config.gcc
> @@ -1531,7 +1531,6 @@ bpf-*-*)
>          use_collect2=no
>          extra_headers="bpf-helpers.h"
>          use_gcc_stdint=provide
> -        extra_headers="coreout.h"
>          extra_objs="coreout.o"
>          target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/coreout.c"
>          ;;
diff mbox series

Patch

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 498c51e619d..aa5bd5d1459 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1531,7 +1531,6 @@  bpf-*-*)
         use_collect2=no
         extra_headers="bpf-helpers.h"
         use_gcc_stdint=provide
-        extra_headers="coreout.h"
         extra_objs="coreout.o"
         target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/coreout.c"
         ;;