Re: [PATCH] Kbuild: add 3 more header files to get properly "unifdef"ed

From: Adrian Bunk
Date: Sun Dec 03 2006 - 17:12:34 EST


On Thu, Nov 30, 2006 at 05:03:56AM -0500, Robert P. J. Day wrote:
>
> Add 3 more files to get "unifdef"ed when creating sanitized headers
> with "make headers_install".

Your patch should also remove them from header-y.

> Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
>
> ---
>
> diff --git a/include/linux/Kbuild b/include/linux/Kbuild
> index a1155a2..b6bc50c 100644
> --- a/include/linux/Kbuild
> +++ b/include/linux/Kbuild
> @@ -225,6 +225,7 @@ unifdef-y += if_bridge.h
> unifdef-y += if_ec.h
> unifdef-y += if_eql.h
> unifdef-y += if_ether.h
> +unifdef-y += if_fddi.h
> unifdef-y += if_frad.h
> unifdef-y += if_ltalk.h
> unifdef-y += if_pppox.h
> @@ -286,6 +287,7 @@ unifdef-y += nvram.h
> unifdef-y += parport.h
> unifdef-y += patchkey.h
> unifdef-y += pci.h
> +unifdef-y += personality.h
> unifdef-y += pktcdvd.h
> unifdef-y += pmu.h
> unifdef-y += poll.h
> @@ -341,6 +343,7 @@ unifdef-y += videodev.h
> unifdef-y += wait.h
> unifdef-y += wanrouter.h
> unifdef-y += watchdog.h
> +unifdef-y += wireless.h
> unifdef-y += xfrm.h
> unifdef-y += zftape.h

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/