Messages in this thread | | | Subject | Re: [PATCH] export linux/a.out.h | From | David Woodhouse <> | Date | Sun, 15 Jun 2008 22:32:35 +0100 |
| |
On Sun, 2008-06-15 at 23:07 +0200, Peter Korsgaard wrote: > Export linux/a.out.h like we do for asm/a.out.h as some applications needs > it (E.G. valgrind). One minor complication is that the interesting stuff is > protected by an CONFIG_ARCH_SUPPORTS_AOUT ifdef, so make sure that gets > defined for unifdef.
No, let's fix the file instead. We should never have wrapped its contents in CONFIG_ARCH_SUPPORTS_AOUT in the first place.
And we don't want to export it unconditionally. We want something like we already have in include/asm-generic/Kbuild.asm:
ifeq ($(wildcard include/asm-$(SRCARCH)/a.out.h),include/asm-$(SRCARCH)/a.out.h) unifdef-y += a.out.h endif
-- dwmw2
| |