GIT 12415e45ab0429a88412f4af365515adbe0bdd68 git://git.infradead.org/hdrinstall-2.6.git commit 12415e45ab0429a88412f4af365515adbe0bdd68 Author: David Woodhouse Date: Thu May 18 13:22:39 2006 +0100 Export for mtools Signed-off-by: David Woodhouse commit ea3e483cf89c0e71ad3fa8d1abcdb5305f340d16 Author: David Woodhouse Date: Wed May 17 10:24:13 2006 +0100 Export include/linux/in_route.h Signed-off-by: David Woodhouse commit 3a6763d75ede003371d0dc24fc788ad479fc230f Author: David Woodhouse Date: Tue May 16 15:49:15 2006 +0100 Include in files exported to userspace Signed-off-by: David Woodhouse commit 4090bed2af5e4b533a13b01ddbda0c9684cc669f Author: David Woodhouse Date: Mon May 15 23:22:02 2006 +0100 Fix headers_install and headers_check with alternate output directory. Signed-off-by: David Woodhouse commit 392ad8b3d8300234ad096eac331923596872c58a Author: David Woodhouse Date: Wed May 10 14:26:11 2006 +0100 Add linux/usbdevice_fs.h and linux/usb_ch9.h to export list Signed-off-by: David Woodhouse commit 9aa86190f0721de1558990e84c9a144aa01b0369 Author: David Woodhouse Date: Mon May 8 15:53:19 2006 +0100 Export include/asm-s390/z90crypt.h in 'make headers_install' Signed-off-by: David Woodhouse commit 53c2d4bcaa1cb9d849390d496c281fb9ea3c1523 Author: David Woodhouse Date: Sun May 7 02:13:12 2006 +0100 Remove asm-*/semaphore.h and asm-*/mmu.h from export list Signed-off-by: David Woodhouse commit 193930742c10bfb6c1c84de2a5ac493f9a7ea087 Author: David Woodhouse Date: Sat May 6 19:50:01 2006 +0100 Remove include/media/ from exported headers. Even the ioctls are kernel-only Signed-off-by: David Woodhouse commit dd6ed28e44f2a06dfe091d7676d5e07f8a44ff1e Author: David Woodhouse Date: Sat May 6 00:22:38 2006 +0100 Use unifdef for exporting files in linux/byteorder/ Signed-off-by: David Woodhouse commit c1f72a95fdf54ace5bffa921c1b72bc04fc9b12c Author: David Woodhouse Date: Sat May 6 00:18:09 2006 +0100 Export with unidef Signed-off-by: David Woodhouse commit 2330b561fe7f40757b458a900e6861e6c11857f6 Author: David Woodhouse Date: Sat May 6 00:11:13 2006 +0100 Use unifdef when exporting Signed-off-by: David Woodhouse commit a28b9677e6c6c4159ede261f64dadd7ff9664ad4 Author: David Woodhouse Date: Thu May 4 17:38:40 2006 +0100 Remove from list of exported files Signed-off-by: David Woodhouse commit f2a39cf84e2e7561c8e9fe7c0c1451b22fc266de Author: David Woodhouse Date: Thu May 4 12:37:45 2006 +0100 Remove from list of exported header files Signed-off-by: David Woodhouse commit ed913116192f1f75132844613247afda9006e42a Author: David Woodhouse Date: Thu May 4 01:22:05 2006 +0100 Remove and from user view They contain Linux-specific types (u32 et al) and Andi says drop them rather than fixing them -- they shouldn't be needed. Signed-off-by: David Woodhouse commit e89b2d0a8d9d75a134e4d34fc2fb20003576a0be Author: David Woodhouse Date: Thu May 4 00:58:15 2006 +0100 Remove from list of exported files Signed-off-by: David Woodhouse commit 75125ffc1ca42c3fbbffcb3bac5593ab12f7d34a Author: David Woodhouse Date: Thu May 4 00:54:25 2006 +0100 Remove asm*/kprobes.h from list of exported files. Nothing to see here. Signed-off-by: David Woodhouse commit b23a3c8feed67614f06b279c2f87b7c0de1618d7 Author: David Woodhouse Date: Thu May 4 00:52:58 2006 +0100 Remove from exported files. It only contains struct kstatfs Signed-off-by: David Woodhouse commit 159e6c8c3f5369ae0e21e3e041670e14e647f4e2 Author: David Woodhouse Date: Tue May 2 00:28:16 2006 +0100 Export linux/termios.h and linux/poll.h for klibc Signed-off-by: David Woodhouse commit 1cd21aa862869f0ce8c73573318f97ba4bfd489c Author: David Woodhouse Date: Sat Apr 29 00:54:54 2006 +0100 Add include/linux/pci.h to unifdef-y Signed-off-by: David Woodhouse commit f8baf9815e95399552a1ef2725b925a18b664119 Author: David Woodhouse Date: Fri Apr 28 17:06:12 2006 +0100 Export linux/unistd.h with unifdef Signed-off-by: David Woodhouse commit cb9c71b22fed303b77f76e07a0d40a915f76a7c1 Author: David Woodhouse Date: Thu Apr 27 18:06:56 2006 +0100 Switch mii.h and ethtool.h to unifdef-y for export Signed-off-by: David Woodhouse commit 830fdc93159814761a3eecb489fde144e8697154 Author: David Woodhouse Date: Thu Apr 27 16:57:08 2006 +0100 Export include/linux/version.h Signed-off-by: David Woodhouse commit 444f2e801e7d1340484b7ebad832028a80a6d0ae Author: David Woodhouse Date: Thu Apr 27 13:37:35 2006 +0100 Fix 'headers_install' in include/asm-ia64: it's _really_ called fpswa.h Signed-off-by: David Woodhouse commit 888ba5dafdb49c75b7debe7da6633b126f07f6b6 Author: David Woodhouse Date: Thu Apr 27 02:39:44 2006 +0100 Export include/asm-ia64/intrinsics.h and its dependencies for glibc Signed-off-by: David Woodhouse commit 2f2e868a42fa2d23e465892bb33c3235d9463e48 Author: David Woodhouse Date: Thu Apr 27 02:33:19 2006 +0100 Update biarch user header handling to cope with -undef Otherwise, glibc doesn't build on x86_64, because it includes headers like without __x86_64__ defined. Signed-off-by: David Woodhouse commit 4e9d563c64fdec69385d09196c70b5962486f5cc Author: David Woodhouse Date: Thu Apr 27 01:45:19 2006 +0100 Export include/asm-generic/ioctl.h for userspace Signed-off-by: David Woodhouse commit c3d1938c06ca56de10108dda644b0177cc39f42b Author: David Woodhouse Date: Thu Apr 27 00:15:35 2006 +0100 Export new file linux/elf-em.h to userspace This matches the addition of this new file in the hdrcleanup-2.6.git tree. Signed-off-by: David Woodhouse commit 2c7f29494c0ed342c1bcb70fcf6e20168f37859d Author: David Woodhouse Date: Wed Apr 26 21:14:59 2006 +0100 Fix typo in asm-ia64/Kbuild: it's fpswa.h not fwspa.h Signed-off-by: David Woodhouse commit 79f478bea16d9dae43dcaf5ea1405fe24a98c338 Author: David Woodhouse Date: Wed Apr 26 18:49:35 2006 +0100 Make headers_install target remove only $(INSTALL_HDR_PATH)/include There's no real need to remove all of $(INSTALL_HDR_PATH) -- it makes it harder for people to point $(INSTALL_HDR_PATH) at interesting places. Signed-off-by: David Woodhouse commit 124061791ad67136c89e14e4f1ecb50f36aed598 Author: David Woodhouse Date: Wed Apr 26 12:57:05 2006 +0100 Don't export Signed-off-by: David Woodhouse commit 77c0f87260df1165d3b09e20c593c257256c6de9 Author: David Woodhouse Date: Wed Apr 26 12:38:46 2006 +0100 Generate headers in include/asm for biarch header builds Fix up architecture Kbuild files accordingly -- don't use := in the altarch builds because we need it not to override settings from the main arch when we're in include/asm, and set ARCHDEF so that the makefile knows what to check for Signed-off-by: David Woodhouse commit 9c0f32fad59145b7ffb87b9f329521832916f443 Author: David Woodhouse Date: Wed Apr 26 03:03:41 2006 +0100 Install headers directly into include/asm when $(ALTARCH) not defined ... by setting $(dst) when calling into sub-makefiles too. Signed-off-by: David Woodhouse commit f60058e37620724f473275a05cb24cff83e426e4 Author: David Woodhouse Date: Wed Apr 26 01:39:28 2006 +0100 Handle ALTARCH and merge header checking into Makefile.headersinst ...instead of having a separate makefile with a large amount of duplication for it. Also make scripts/hdrcheck.sh executable. Signed-off-by: David Woodhouse commit f14158c094a01d3d3d5e6aa2799f80acf6240548 Author: David Woodhouse Date: Wed Apr 26 01:01:49 2006 +0100 Remove ALTARCH from ppc and sparc32 include Kbuild files They don't need the biarch treatment. Signed-off-by: David Woodhouse commit f00466bdbb60163a606f68b6abcc8db39e6a8ee8 Author: David Woodhouse Date: Wed Apr 26 00:53:28 2006 +0100 Fix list of exported files from asm-{x86_64,i386,s390,ia64} Signed-off-by: David Woodhouse commit c97c604c48b559b8e26c2f781ec81f605bb2fbae Author: David Woodhouse Date: Wed Apr 26 00:52:50 2006 +0100 Clean up include/asm-generic/Kbuild.asm There are some headers we really shouldn't be exporting. List those separately to make it clear we're going to be dropping them some time soon. Signed-off-by: David Woodhouse commit 708388ca1e768f3c5c178d3b640db0948d8bd1de Author: David Woodhouse Date: Tue Apr 25 23:30:52 2006 +0100 Fix relative paths to asm-generic in include/asm-*/Kbuild Signed-off-by: David Woodhouse commit bb420dcf850b85c50419cfbbe8223d50782e64c3 Author: David Woodhouse Date: Tue Apr 25 20:19:33 2006 +0100 Fix unifdef path and allow it to be overridden with $(UNIFDEF) Signed-off-by: David Woodhouse commit 24df14edff901026816856906dc7d63ce01115d0 Author: David Woodhouse Date: Tue Apr 25 13:45:11 2006 +0100 Add 'make headers_install' and 'make headers_check' make targets The 'make headers_install' target will export user-visible kernel headers (marked by Kbuild files in the include/ directories) to userspace, running unifdef on them as appropriate. It places them in the directory /lib/modules/`uname -r`/abi/include. The 'make headers_check' target performs a primitive check on the result, checking that it's a closed set, and no header files which _weren't_ selected for export are included by those which _were_. In time, this check should become more stringent, and should ideally actually attempt to compile each header file 'standalone' and check for namespace pollution. Based strongly on the initial implementation by Arnd Bergmann. Signed-off-by: David Woodhouse --- Signed-off-by: Andrew Morton --- Makefile | 15 ++ include/Kbuild | 2 include/asm-alpha/Kbuild | 9 + include/asm-arm/Kbuild | 7 + include/asm-arm26/Kbuild | 8 + include/asm-cris/Kbuild | 6 + include/asm-cris/arch-v10/Kbuild | 3 include/asm-generic/Kbuild | 3 include/asm-generic/Kbuild.asm | 11 ++ include/asm-h8300/Kbuild | 6 + include/asm-i386/Kbuild | 5 include/asm-ia64/Kbuild | 7 + include/asm-m32r/Kbuild | 7 + include/asm-m68k/Kbuild | 17 +++ include/asm-m68knommu/Kbuild | 12 ++ include/asm-mips/Kbuild | 15 ++ include/asm-parisc/Kbuild | 8 + include/asm-powerpc/Kbuild | 10 + include/asm-ppc/Kbuild | 8 + include/asm-s390/Kbuild | 5 include/asm-sh/Kbuild | 6 + include/asm-sh64/Kbuild | 6 + include/asm-sparc/Kbuild | 13 ++ include/asm-sparc64/Kbuild | 16 ++ include/asm-um/Kbuild | 14 ++ include/asm-v850/Kbuild | 10 + include/asm-x86_64/Kbuild | 11 ++ include/linux/Kbuild | 63 +++++++++++ include/linux/byteorder/Kbuild | 2 include/linux/dvb/Kbuild | 2 include/linux/hdlc/Kbuild | 1 include/linux/isdn/Kbuild | 1 include/linux/netfilter/Kbuild | 11 ++ include/linux/netfilter_arp/Kbuild | 2 include/linux/netfilter_bridge/Kbuild | 4 include/linux/netfilter_ipv4/Kbuild | 21 +++ include/linux/netfilter_ipv6/Kbuild | 5 include/linux/nfsd/Kbuild | 2 include/linux/raid/Kbuild | 1 include/linux/sunrpc/Kbuild | 1 include/linux/tc_act/Kbuild | 1 include/linux/tc_ematch/Kbuild | 1 include/mtd/Kbuild | 2 include/rdma/Kbuild | 1 include/scsi/Kbuild | 2 include/sound/Kbuild | 2 include/video/Kbuild | 1 scripts/Makefile.headersinst | 130 ++++++++++++++++++++++++ scripts/hdrcheck.sh | 8 + 49 files changed, 504 insertions(+) diff -puN /dev/null include/asm-alpha/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-alpha/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,9 @@ +include include/asm-generic/Kbuild.asm + +header-y += 8253pit.h agp.h agp_backend.h compiler.h console.h core_apecs.h \ + core_cia.h core_irongate.h core_lca.h core_marvel.h core_mcpcia.h \ + core_polaris.h core_t2.h core_titan.h core_tsunami.h core_wildfire.h \ + err_common.h err_ev6.h err_ev7.h floppy.h fpu.h gct.h gentrap.h \ + hdreg.h hw_irq.h hwrpb.h init.h jensen.h md.h numnodes.h pal.h \ + parport.h pci.h reg.h regdef.h segment.h serial.h sfp-machine.h \ + spinlock.h suspend.h sysinfo.h ucontext.h vga.h diff -puN /dev/null include/asm-arm26/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-arm26/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,8 @@ +include include/asm-generic/Kbuild.asm + +header-y += assembler.h calls.h constants.h ecard.h fiq.h floppy.h fpstate.h \ + hardware.h hdreg.h ian_char.h ioc.h ipc.h irqchip.h leds.h limits.h \ + linux_logo.h locks.h mach-types.h map.h memory.h oldlatches.h \ + parport.h proc-fns.h procinfo.h segment.h semaphore-helper.h \ + serial.h sizes.h spinlock.h suspend.h sysirq.h ucontext.h \ + uncompress.h diff -puN /dev/null include/asm-arm/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-arm/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,7 @@ +include include/asm-generic/Kbuild.asm + +header-y += apm.h assembler.h cpu-multi32.h cpu-single.h domain.h ecard.h \ + fiq.h floppy.h fpstate.h hardware.h hdreg.h ipc.h leds.h limits.h \ + locks.h memory.h numnodes.h nwflash.h parport.h procinfo.h \ + segment.h semaphore-helper.h serial.h sizes.h spinlock.h suspend.h \ + therm.h traps.h ucontext.h vga.h diff -puN /dev/null include/asm-cris/arch-v10/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-cris/arch-v10/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,3 @@ +header-y += bitops.h cache.h checksum.h dma.h elf.h io.h irq.h mmu.h \ + offset.h processor.h ptrace.h sv_addr_ag.h svinto.h system.h \ + timex.h unistd.h user.h diff -puN /dev/null include/asm-cris/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-cris/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,6 @@ +include include/asm-generic/Kbuild.asm + +header-y += axisflashmap.h eshlibld.h ethernet.h etraxgpio.h etraxi2c.h \ + fasttimer.h ipc.h rs485.h segment.h semaphore-helper.h ucontext.h + +header-y += arch-v10/ diff -puN /dev/null include/asm-generic/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-generic/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,3 @@ +header-y += errno-base.h errno.h fcntl.h ioctl.h ipc.h mman.h signal.h \ + statfs.h +unifdef-y := resource.h siginfo.h diff -puN /dev/null include/asm-generic/Kbuild.asm --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-generic/Kbuild.asm 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,11 @@ +unifdef-y += a.out.h auxvec.h byteorder.h errno.h fcntl.h ioctl.h \ + ioctls.h ipcbuf.h irq.h mman.h msgbuf.h param.h poll.h \ + posix_types.h ptrace.h resource.h sembuf.h shmbuf.h shmparam.h \ + sigcontext.h siginfo.h signal.h socket.h sockios.h stat.h \ + statfs.h termbits.h termios.h timex.h types.h unistd.h user.h + +# These really shouldn't be exported +unifdef-y += atomic.h io.h + +# These probably shouldn't be exported +unifdef-y += elf.h page.h diff -puN /dev/null include/asm-h8300/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-h8300/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,6 @@ +include include/asm-generic/Kbuild.asm + +header-y += cachectl.h dbg.h flat.h fpu.h gpio.h h8300_ne.h hdreg.h \ + hw_irq.h init.h ipc.h keyboard.h linux_logo.h md.h \ + page_offset.h segment.h semaphore-helper.h sh_bios.h shm.h \ + spinlock.h target_time.h traps.h ucontext.h diff -puN /dev/null include/asm-i386/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-i386/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,5 @@ +include include/asm-generic/Kbuild.asm + +header-y += boot.h cpufeature.h debugreg.h ldt.h setup.h ucontext.h + +unifdef-y += mtrr.h vm86.h diff -puN /dev/null include/asm-ia64/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-ia64/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,7 @@ +include include/asm-generic/Kbuild.asm + +header-y += break.h fpu.h fpswa.h gcc_intrin.h ia64regs.h \ + intel_intrin.h intrinsics.h perfmon_default_smpl.h \ + ptrace_offsets.h rse.h setup.h ucontext.h + +unifdef-y += perfmon.h diff -puN /dev/null include/asm-m32r/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-m32r/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,7 @@ +include include/asm-generic/Kbuild.asm + +header-y += addrspace.h assembler.h bugs.h cachectl.h current.h delay.h \ + div64.h flat.h hdreg.h hw_irq.h ipc.h kmap_types.h m32102.h \ + m32102peri.h m32r.h m32r_mp_fpga.h mc146818rtc.h mmzone.h \ + numnodes.h pgtable-2level.h rtc.h scatterlist.h segment.h serial.h \ + setup.h smp.h spinlock.h string.h syscall.h ucontext.h vga.h diff -puN /dev/null include/asm-m68k/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-m68k/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,17 @@ +include include/asm-generic/Kbuild.asm + +header-y += adb.h adb_iop.h adb_mouse.h amigahw.h amigaints.h amigayle.h \ + amipcmcia.h apollodma.h apollohw.h atafd.h atafdreg.h \ + atari_SCCserial.h atari_SLM.h atari_acsi.h atari_joystick.h \ + atari_stdma.h atari_stram.h atarihw.h atariints.h atarikb.h \ + blinken.h bvme6000hw.h cachectl.h contregs.h dsp56k.h dvma.h \ + entry.h fbio.h floppy.h fpu.h hdreg.h hw_irq.h hwtest.h \ + idprom.h init.h intersil.h ipc.h kbio.h mac_asc.h mac_baboon.h\ + mac_iop.h mac_mouse.h mac_oss.h mac_psc.h mac_via.h machdep.h \ + machines.h machw.h macintosh.h macints.h math-emu.h md.h \ + motorola_pgalloc.h movs.h mvme147hw.h mvme16xhw.h nubus.h \ + openprom.h oplib.h page_offset.h parport.h q40_master.h \ + q40ints.h sbus.h segment.h semaphore-helper.h serial.h shm.h \ + spinlock.h sun3-head.h sun3_pgalloc.h sun3ints.h sun3mmu.h \ + sun3x.h sun3xflop.h sun3xprom.h suspend.h swim_iop.h traps.h \ + ucontext.h vuid_event.h diff -puN /dev/null include/asm-m68knommu/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-m68knommu/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,12 @@ +include include/asm-generic/Kbuild.asm + +header-y += MC68328.h MC68332.h MC68EZ328.h MC68VZ328.h anchor.h \ + asm-offsets.h bootstd.h cachectl.h coldfire.h commproc.h dbg.h \ + elia.h entry.h flat.h fpu.h hdreg.h hwtest.h init.h io_hw_swap.h \ + ipc.h keyboard.h m5206sim.h m5249sim.h m5272sim.h m5282sim.h \ + m5307sim.h m5407sim.h m68360.h m68360_enet.h m68360_pram.h \ + m68360_quicc.h m68360_regs.h machdep.h math-emu.h mcfdma.h \ + mcfmbus.h mcfne.h mcfpci.h mcfpit.h mcfsim.h mcfsmc.h mcftimer.h \ + mcfuart.h mcfwdebug.h md.h movs.h nap.h nettel.h openprom.h \ + oplib.h page_offset.h quicc_simple.h segment.h semaphore-helper.h \ + semp3.h shglcore.h shglports.h shm.h spinlock.h traps.h ucontext.h diff -puN /dev/null include/asm-mips/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-mips/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,15 @@ +include include/asm-generic/Kbuild.asm + +header-y += 8253pit.h addrspace.h asm.h asmmacro-32.h asmmacro-64.h \ + asmmacro.h bcache.h branch.h break.h cachectl.h cacheops.h \ + compat.h compiler.h cpu.h cpu-info.h ddb5074.h debug.h \ + ds1286.h fixmap.h floppy.h fpregdef.h fpu_emulator.h \ + gdb-stub.h gfx.h gt64120.h hdreg.h hw_irq.h i8259.h init.h \ + inst.h interrupt.h inventory.h ipc.h irq_cpu.h \ + isadep.h it8712.h jazz.h jazzdma.h m48t35.h mipsprom.h \ + mipsregs.h msc01_ic.h ng1.h ng1hw.h nile4.h paccess.h parport.h \ + pci_channel.h pgtable-32.h pgtable-64.h pgtable-bits.h prctl.h \ + r4kcache.h reboot.h regdef.h riscos-syscall.h segment.h \ + serial.h sgialib.h sgiarcs.h sgidefs.h sim.h sni.h spinlock.h \ + stackframe.h suspend.h sysmips.h tlbdebug.h traps.h \ + tx3912.h ucontext.h vga.h war.h watch.h wbflush.h diff -puN /dev/null include/asm-parisc/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-parisc/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,8 @@ +include include/asm-generic/Kbuild.asm + +header-y += asmregs.h assembly.h bootdata.h compat.h eisa_bus.h \ + eisa_eeprom.h fixmap.h floppy.h grfioctl.h hardware.h hdreg.h \ + hw_irq.h iosapic.h led.h machdep.h parisc-device.h parport.h \ + parport_gsc.h pdc.h pdc_chassis.h pdcpat.h perf.h psw.h real.h \ + rt_sigframe.h segment.h semaphore-helper.h serial.h som.h \ + spinlock.h superio.h ucontext.h unwind.h diff -puN /dev/null include/asm-powerpc/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-powerpc/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,10 @@ +include include/asm-generic/Kbuild.asm + +unifdef-y += a.out.h asm-compat.h bootx.h byteorder.h cputable.h elf.h \ + nvram.h param.h posix_types.h ptrace.h seccomp.h signal.h \ + termios.h types.h unistd.h + +header-y += auxvec.h ioctls.h mman.h sembuf.h siginfo.h stat.h errno.h \ + ipcbuf.h msgbuf.h shmbuf.h socket.h termbits.h fcntl.h ipc.h \ + poll.h shmparam.h sockios.h ucontext.h ioctl.h linkage.h \ + resource.h sigcontext.h statfs.h diff -puN /dev/null include/asm-ppc/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-ppc/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,8 @@ +include include/asm-generic/Kbuild.asm + +header-y += agp.h amigayle.h amipcmcia.h ans-lcd.h bootx.h bseip.h \ + commproc.h cputable.h floppy.h gg2.h gt64260.h gt64260_defs.h \ + harrier.h hdreg.h heathrow.h hw_irq.h i8259.h ipc.h keylargo.h \ + m48t35.h machdep.h macio.h mk48t59.h nvram.h ocp_ids.h of_device.h\ + ohare.h open_pic.h parport.h ppc_asm.h ppcboot.h reg.h \ + segment.h spinlock.h todc.h traps.h ucontext.h vga.h xparameters.h diff -puN /dev/null include/asm-s390/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-s390/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,5 @@ +include include/asm-generic/Kbuild.asm + +unifdef-y += cmb.h debug.h +header-y += dasd.h qeth.h sfp-machine.h tape390.h ucontext.h vtoc.h \ + z90crypt.h diff -puN /dev/null include/asm-sh64/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-sh64/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,6 @@ +include include/asm-generic/Kbuild.asm + +header-y += bugs.h cayman.h current.h delay.h hardware.h hdreg.h \ + hw_irq.h ipc.h kmap_types.h mc146818rtc.h platform.h registers.h \ + scatterlist.h segment.h semaphore-helper.h serial.h smp.h \ + spinlock.h string.h ucontext.h diff -puN /dev/null include/asm-sh/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-sh/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,6 @@ +include include/asm-generic/Kbuild.asm + +header-y += addrspace.h floppy.h freq.h hdreg.h hw_irq.h init.h ipc.h \ + irq-sh73180.h \ + keyboard.h numnodes.h pgtable-2level.h semaphore-helper.h \ + serial.h sh_bios.h spinlock.h ubc.h ucontext.h watchdog.h diff -puN /dev/null include/asm-sparc64/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-sparc64/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,16 @@ +include include/asm-generic/Kbuild.asm + +ALTARCH := sparc +ARCHDEF := defined __sparc__ && defined __arch64__ +ALTARCHDEF := defined __sparc__ && !defined __arch64__ + +header-y += agp.h apb.h asi.h auxio.h bbc.h bpp.h bsderrno.h \ + chafsr.h chmctrl.h compat.h const.h cpudata.h dcr.h dcu.h \ + display7seg.h ebus.h envctrl.h estate.h fbio.h fhc.h floppy.h \ + fpumacro.h head.h hw_irq.h idprom.h iommu.h \ + ipc.h isa.h kdebug.h lsu.h mostek.h ns87303.h \ + openprom.h openpromio.h oplib.h parport.h pbm.h pconf.h \ + perfctr.h pil.h psrcompat.h pstate.h reg.h sbus.h \ + sfp-machine.h solerrno.h spinlock.h spitfire.h starfire.h \ + sunbpp.h svr4.h timer.h ttable.h uctx.h upa.h utrap.h vga.h \ + visasm.h watchdog.h diff -puN /dev/null include/asm-sparc/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-sparc/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,13 @@ +include include/asm-generic/Kbuild.asm + +header-y += apc.h asi.h asmmacro.h auxio.h bitext.h bpp.h \ + bsderrno.h btfixup.h clock.h contregs.h cpudata.h cypress.h \ + ebus.h ecc.h eeprom.h fbio.h floppy.h head.h hw_irq.h \ + idprom.h io-unit.h iommu.h ipc.h jsflash.h \ + kdebug.h machines.h mbus.h memreg.h mostek.h mpmbox.h msi.h \ + mxcc.h obio.h openprom.h openpromio.h oplib.h pbm.h pcic.h \ + pconf.h perfctr.h pgtsrmmu.h pgtsun4.h pgtsun4c.h psr.h reg.h \ + ross.h sbi.h sbus.h sfp-machine.h smpprim.h \ + solerrno.h spinlock.h sun4paddr.h sun4prom.h sunbpp.h svr4.h \ + swift.h sysen.h timer.h traps.h tsunami.h turbosparc.h \ + vac-ops.h vaddrs.h vfc_ioctls.h viking.h winmacro.h diff -puN /dev/null include/asm-um/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-um/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,14 @@ +header-y += a.out.h arch-signal-i386.h archparam-i386.h archparam-ppc.h \ + atomic.h bitops.h boot.h bug.h byteorder.h cache.h cacheflush.h \ + checksum.h cobalt.h desc.h dma.h elf.h errno.h fcntl.h fixmap.h \ + floppy.h hardirq.h hdreg.h hw_irq.h init.h io.h ioctl.h ioctls.h \ + ipc.h ipcbuf.h irq.h irq_vectors.h keyboard.h linkage.h locks.h \ + mca_dma.h mman.h mmu.h mmu_context.h msgbuf.h mtrr.h namei.h \ + page.h page_offset.h param.h pgalloc.h poll.h posix_types.h \ + processor-generic.h processor-i386.h processor-ppc.h \ + ptrace-generic.h ptrace-i386.h rwlock.h segment.h semaphore.h \ + sembuf.h serial.h shmbuf.h shmparam.h sigcontext-generic.h \ + sigcontext-i386.h sigcontext-ppc.h siginfo.h socket.h sockios.h \ + spinlock.h stat.h suspend.h system-generic.h system-i386.h \ + system-ppc.h termbits.h termios.h timex.h tlbflush.h types.h \ + ucontext.h unaligned.h unistd.h user.h vga.h diff -puN /dev/null include/asm-v850/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-v850/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,10 @@ +include include/asm-generic/Kbuild.asm + +header-y += anna.h as85ep1.h asm.h clinkage.h entry.h flat.h fpga85e2c.h \ + gbus_int.h highres_timer.h hw_irq.h ipc.h ma.h ma1.h machdep.h \ + macrology.h me2.h rte_cb.h rte_ma1_cb.h rte_mb_a_pci.h \ + rte_me2_cb.h rte_nb85e_cb.h segment.h serial.h sim.h sim85e2.h \ + sim85e2c.h sim85e2s.h simsyscall.h teg.h ucontext.h \ + v850e.h v850e2.h v850e2_cache.h v850e_cache.h v850e_intc.h \ + v850e_timer_c.h v850e_timer_d.h v850e_uart.h v850e_uarta.h \ + v850e_uartb.h v850e_utils.h diff -puN /dev/null include/asm-x86_64/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/asm-x86_64/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,11 @@ +include include/asm-generic/Kbuild.asm + +ALTARCH := i386 +ARCHDEF := defined __x86_64__ +ALTARCHDEF := defined __i386__ + +header-y += boot.h bootsetup.h cpufeature.h debugreg.h ldt.h \ + msr.h prctl.h setup.h sigcontext32.h ucontext.h \ + vsyscall32.h + +unifdef-y += mce.h mtrr.h vsyscall.h diff -puN /dev/null include/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +header-y += asm-generic/ linux/ scsi/ sound/ mtd/ rdma/ video/ +header-y += asm-$(ARCH)/ diff -puN /dev/null include/linux/byteorder/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/byteorder/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +unifdef-y += generic.h swabb.h swab.h +header-y += big_endian.h little_endian.h pdp_endian.h diff -puN /dev/null include/linux/dvb/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/dvb/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +header-y += ca.h frontend.h net.h osd.h version.h +unifdef-y := audio.h dmx.h video.h diff -puN /dev/null include/linux/hdlc/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/hdlc/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +header-y += ioctl.h diff -puN /dev/null include/linux/isdn/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/isdn/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +header-y += capicmd.h tpam.h diff -puN /dev/null include/linux/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,63 @@ +header-y := byteorder/ dvb/ hdlc/ isdn/ nfsd/ raid/ sunrpc/ tc_act/ \ + netfilter/ netfilter_arp/ netfilter_bridge/ netfilter_ipv4/ \ + netfilter_ipv6/ + +header-y += affs_fs.h affs_hardblocks.h aio_abi.h a.out.h arcfb.h \ + atmapi.h atmbr2684.h atmclip.h atm_eni.h atm_he.h \ + atm_idt77105.h atmioc.h atmlec.h atmmpc.h atm_nicstar.h \ + atmppp.h atmsap.h atmsvc.h atm_zatm.h auto_fs4.h auxvec.h \ + awe_voice.h ax25.h b1lli.h baycom.h bfs_fs.h blkpg.h \ + bpqether.h cdk.h chio.h coda_psdev.h coff.h comstats.h \ + consolemap.h cycx_cfm.h devfs_fs.h dn.h dqblk_v1.h dqblk_v2.h \ + dqblk_xfs.h efs_fs_sb.h elf-fdpic.h elf.h elf-em.h fadvise.h \ + fd.h fdreg.h ftape-header-segment.h ftape-vendors.h fuse.h \ + futex.h genetlink.h gen_stats.h gigaset_dev.h hdsmart.h \ + hpfs_fs.h hysdn_if.h i2c-dev.h i2c-id.h i8k.h icmp.h \ + if_arcnet.h if_arp.h if_bonding.h if_cablemodem.h if_fc.h \ + if_fddi.h if.h if_hippi.h if_infiniband.h if_packet.h \ + if_plip.h if_ppp.h if_slip.h if_strip.h if_tunnel.h in6.h \ + in_route.h ioctl.h ip.h ipmi_msgdefs.h ip_mp_alg.h ipsec.h \ + ipx.h irda.h isdn_divertif.h iso_fs.h ite_gpio.h ixjuser.h \ + jffs2.h keyctl.h limits.h major.h matroxfb.h meye.h minix_fs.h \ + mmtimer.h mqueue.h mtio.h ncp_no.h netfilter_arp.h netrom.h \ + nfs2.h nfs4_mount.h nfs_mount.h openprom_fs.h param.h \ + pci_ids.h pci_regs.h personality.h pfkeyv2.h pg.h pkt_cls.h \ + pkt_sched.h posix_types.h ppdev.h prctl.h ps2esdi.h qic117.h \ + qnxtypes.h quotaio_v1.h quotaio_v2.h radeonfb.h raw.h \ + resource.h rose.h sctp.h smbno.h snmp.h sockios.h som.h \ + sound.h stddef.h synclink.h telephony.h termios.h ticable.h \ + times.h tiocl.h tipc.h toshiba.h ultrasound.h un.h utime.h \ + utsname.h video_decoder.h video_encoder.h videotext.h vt.h \ + wavefront.h wireless.h xattr.h x25.h zorro_ids.h + +unifdef-y += acct.h adb.h adfs_fs.h agpgart.h apm_bios.h atalk.h \ + atmarp.h atmdev.h atm.h atm_tcp.h audit.h auto_fs.h binfmts.h \ + capability.h capi.h cciss_ioctl.h cdrom.h cm4000_cs.h \ + cn_proc.h coda.h compiler.h connector.h cramfs_fs.h cuda.h \ + cyclades.h dccp.h dirent.h divert.h elfcore.h errno.h \ + errqueue.h ethtool.h eventpoll.h ext2_fs.h ext3_fs.h fb.h \ + fcntl.h filter.h flat.h fs.h ftape.h gameport.h \ + generic_serial.h genhd.h hayesesp.h hdlcdrv.h hdlc.h hdreg.h \ + hiddev.h hpet.h i2c-algo-ite.h i2c.h i2o-dev.h icmpv6.h \ + if_bridge.h if_ec.h if_eql.h if_ether.h if_frad.h if_ltalk.h \ + if_pppox.h if_shaper.h if_tr.h if_tun.h if_vlan.h if_wanpipe.h \ + igmp.h inet_diag.h in.h inotify.h input.h ipc.h ipmi.h ipv6.h \ + ipv6_route.h isdn.h isdnif.h isdn_ppp.h isicom.h jbd.h \ + joystick.h kdev_t.h kd.h kernelcapi.h kernel.h keyboard.h \ + llc.h loop.h lp.h mempolicy.h mii.h mman.h mroute.h msdos_fs.h \ + msg.h nbd.h ncp_fs.h ncp.h ncp_mount.h netdevice.h \ + netfilter_bridge.h netfilter_decnet.h netfilter.h \ + netfilter_ipv4.h netfilter_ipv6.h netfilter_logging.h net.h \ + netlink.h nfs3.h nfs4.h nfsacl.h nfs_fs.h nfs.h nfs_idmap.h \ + n_r3964.h nubus.h nvram.h parport.h patchkey.h pci.h pktcdvd.h \ + pmu.h poll.h ppp_defs.h ppp-comp.h ptrace.h qnx4_fs.h quota.h \ + random.h reboot.h reiserfs_fs.h reiserfs_xattr.h romfs_fs.h \ + route.h rtc.h rtnetlink.h scc.h sched.h sdla.h \ + selinux_netlink.h sem.h serial_core.h serial.h serio.h shm.h \ + signal.h smb_fs.h smb.h smb_mount.h socket.h sonet.h sonypi.h \ + soundcard.h stat.h sysctl.h tcp.h time.h timex.h tty.h types.h \ + udf_fs_i.h udp.h uinput.h uio.h unistd.h usb_ch9.h \ + usbdevice_fs.h user.h videodev2.h videodev.h wait.h \ + wanrouter.h watchdog.h xfrm.h zftape.h + +objhdr-y := version.h diff -puN /dev/null include/linux/netfilter_arp/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/netfilter_arp/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +header-y := arpt_mangle.h +unifdef-y := arp_tables.h diff -puN /dev/null include/linux/netfilter_bridge/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/netfilter_bridge/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,4 @@ +header-y += ebt_among.h ebt_arp.h ebt_arpreply.h ebt_ip.h ebt_limit.h \ + ebt_log.h ebt_mark_m.h ebt_mark_t.h ebt_nat.h ebt_pkttype.h \ + ebt_redirect.h ebt_stp.h ebt_ulog.h ebt_vlan.h +unifdef-y := ebtables.h ebt_802_3.h diff -puN /dev/null include/linux/netfilter_ipv4/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/netfilter_ipv4/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,21 @@ + +header-y := ip_conntrack_helper.h ip_conntrack_helper_h323_asn1.h \ + ip_conntrack_helper_h323_types.h ip_conntrack_protocol.h \ + ip_conntrack_sctp.h ip_conntrack_tcp.h ip_conntrack_tftp.h \ + ip_nat_pptp.h ipt_addrtype.h ipt_ah.h \ + ipt_CLASSIFY.h ipt_CLUSTERIP.h ipt_comment.h \ + ipt_connbytes.h ipt_connmark.h ipt_CONNMARK.h \ + ipt_conntrack.h ipt_dccp.h ipt_dscp.h ipt_DSCP.h ipt_ecn.h \ + ipt_ECN.h ipt_esp.h ipt_hashlimit.h ipt_helper.h \ + ipt_iprange.h ipt_length.h ipt_limit.h ipt_LOG.h ipt_mac.h \ + ipt_mark.h ipt_MARK.h ipt_multiport.h ipt_NFQUEUE.h \ + ipt_owner.h ipt_physdev.h ipt_pkttype.h ipt_policy.h \ + ipt_realm.h ipt_recent.h ipt_REJECT.h ipt_SAME.h \ + ipt_sctp.h ipt_state.h ipt_string.h ipt_tcpmss.h \ + ipt_TCPMSS.h ipt_tos.h ipt_TOS.h ipt_ttl.h ipt_TTL.h \ + ipt_ULOG.h + +unifdef-y := ip_conntrack.h ip_conntrack_h323.h ip_conntrack_irc.h \ + ip_conntrack_pptp.h ip_conntrack_proto_gre.h \ + ip_conntrack_tuple.h ip_nat.h ip_nat_rule.h ip_queue.h \ + ip_tables.h diff -puN /dev/null include/linux/netfilter_ipv6/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/netfilter_ipv6/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,5 @@ +header-y += ip6t_LOG.h ip6t_MARK.h ip6t_ah.h ip6t_esp.h \ + ip6t_frag.h ip6t_hl.h ip6t_ipv6header.h ip6t_length.h \ + ip6t_limit.h ip6t_mac.h ip6t_mark.h ip6t_multiport.h ip6t_opts.h \ + ip6t_owner.h ip6t_physdev.h ip6t_rt.h +unifdef-y := ip6_tables.h diff -puN /dev/null include/linux/netfilter/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/netfilter/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,11 @@ +header-y := nf_conntrack_sctp.h nf_conntrack_tuple_common.h \ + nfnetlink_conntrack.h nfnetlink_log.h nfnetlink_queue.h \ + xt_CLASSIFY.h xt_comment.h xt_connbytes.h xt_connmark.h \ + xt_CONNMARK.h xt_conntrack.h xt_dccp.h xt_esp.h \ + xt_helper.h xt_length.h xt_limit.h xt_mac.h xt_mark.h \ + xt_MARK.h xt_multiport.h xt_NFQUEUE.h xt_pkttype.h \ + xt_policy.h xt_realm.h xt_sctp.h xt_state.h xt_string.h \ + xt_tcpmss.h xt_tcpudp.h + +unifdef-y := nf_conntrack_common.h nf_conntrack_ftp.h \ + nf_conntrack_tcp.h nfnetlink.h x_tables.h xt_physdev.h diff -puN /dev/null include/linux/nfsd/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/nfsd/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +unifdef-y := const.h export.h stats.h syscall.h nfsfh.h debug.h auth.h + diff -puN /dev/null include/linux/raid/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/raid/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +header-y += md_p.h md_u.h diff -puN /dev/null include/linux/sunrpc/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/sunrpc/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +unifdef-y := debug.h diff -puN /dev/null include/linux/tc_act/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/tc_act/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +header-y += tc_gact.h tc_ipt.h tc_mirred.h tc_pedit.h diff -puN /dev/null include/linux/tc_ematch/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/linux/tc_ematch/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +headers-y := tc_em_cmp.h tc_em_meta.h tc_em_nbyte.h tc_em_text.h diff -puN /dev/null include/mtd/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/mtd/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +unifdef-y := mtd-abi.h +header-y := inftl-user.h jffs2-user.h mtd-user.h nftl-user.h diff -puN /dev/null include/rdma/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/rdma/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +header-y := ib_user_mad.h diff -puN /dev/null include/scsi/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/scsi/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +header-y += scsi.h +unifdef-y := scsi_ioctl.h sg.h diff -puN /dev/null include/sound/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/sound/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,2 @@ +header-y := asound_fm.h hdsp.h hdspm.h sfnt_info.h sscape_ioctl.h +unifdef-y := asequencer.h asound.h emu10k1.h sb16_csp.h diff -puN /dev/null include/video/Kbuild --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/include/video/Kbuild 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1 @@ +unifdef-y := sisfb.h diff -puN Makefile~git-hdrinstall Makefile --- Makefile~git-hdrinstall 2006-05-21 14:44:14.000000000 -0700 +++ devel-akpm/Makefile 2006-05-21 14:44:14.000000000 -0700 @@ -856,6 +856,21 @@ depend dep: @echo '*** Warning: make $@ is unnecessary now.' # --------------------------------------------------------------------------- +# Kernel headers +INSTALL_HDR_PATH=$(MODLIB)/abi +export INSTALL_HDR_PATH + +.PHONY: headers_install +headers_install: include/linux/version.h + @unifdef -Ux /dev/null + @rm -rf $(INSTALL_HDR_PATH)/include + $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include + +.PHONY: headers_check +headers_check: headers_install + $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1 + +# --------------------------------------------------------------------------- # Modules ifdef CONFIG_MODULES diff -puN /dev/null scripts/hdrcheck.sh --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/scripts/hdrcheck.sh 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,8 @@ +#!/bin/sh + +for FILE in `grep '^#include <' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do + if [ ! -r $1/$FILE ]; then + echo $2 requires $FILE, which does not exist + exit 1 + fi +done diff -puN /dev/null scripts/Makefile.headersinst --- /dev/null 2003-09-15 06:40:47.000000000 -0700 +++ devel-akpm/scripts/Makefile.headersinst 2006-05-21 14:44:14.000000000 -0700 @@ -0,0 +1,130 @@ +# ========================================================================== +# Installing headers +# ========================================================================== + +UNIFDEF := unifdef -U__KERNEL__ + +_dst := $(if $(dst),$(dst),$(obj)) + +.PHONY: __headersinst +__headersinst: + + +ifeq (,$(patsubst include/asm/%,,$(obj)/)) +# For producing the generated stuff in include/asm for biarch builds, include +# both sets of Kbuild files; we'll generate anything which is mentioned in +# _either_ arch, and recurse into subdirectories which are mentioned in either +# arch. Since some directories may exist in one but not the other, we must +# use '-include'. +GENASM := 1 +archasm := $(subst include/asm,asm-$(ARCH),$(obj)) +altarchasm := $(subst include/asm,asm-$(ALTARCH),$(obj)) +-include $(if $(wildcard $(srctree)/include/$(archasm)/Kbuild), include/$(archasm)/Kbuild, include/$(archasm)/Makefile) +-include $(if $(wildcard $(srctree)/include/$(altarchasm)/Kbuild), include/$(altarchasm)/Kbuild, include/$(altarchasm)/Makefile) +else +include $(if $(wildcard $(srctree)/$(obj)/Kbuild), $(obj)/Kbuild, $(obj)/Makefile) +endif + +include scripts/Kbuild.include + +# If this is include/asm-$(ARCH) and there's no $(ALTARCH), then +# override $(_dst) so that we install to include/asm directly. +ifeq ($(obj)$(ALTARCH),include/asm-$(ARCH)) + _dst := include/asm +endif + +header-y := $(sort $(header-y)) +unifdef-y := $(sort $(unifdef-y)) +subdir-y := $(patsubst %/,%,$(filter %/, $(header-y))) +header-y := $(filter-out %/, $(header-y)) +header-y := $(filter-out $(unifdef-y),$(header-y)) + +ifdef ALTARCH +ifeq ($(obj),include/asm-$(ARCH)) +altarch-y := altarch-dir +endif +endif + +export ALTARCH +export ARCHDEF +export ALTARCHDEF + +quiet_cmd_o_hdr_install = INSTALL_O $(_dst)/$@ + cmd_o_hdr_install = cp $(objtree)/$(obj)/$@ $(INSTALL_HDR_PATH)/$(_dst) + +quiet_cmd_headers_install = INSTALL $(_dst)/$@ + cmd_headers_install = cp $(srctree)/$(obj)/$@ $(INSTALL_HDR_PATH)/$(_dst) + +quiet_cmd_unifdef = UNIFDEF $(_dst)/$@ + cmd_unifdef = $(UNIFDEF) $(srctree)/$(obj)/$@ > $(INSTALL_HDR_PATH)/$(_dst)/$@ || : + +quiet_cmd_check = CHECK $(_dst)/$@ + cmd_check = $(srctree)/scripts/hdrcheck.sh $(INSTALL_HDR_PATH)/include $(INSTALL_HDR_PATH)/$(_dst)/$@ + +quiet_cmd_mkdir = MKDIR $@ + cmd_mkdir = mkdir -p $(INSTALL_HDR_PATH)/$@ + +quiet_cmd_gen = GEN $(_dst)/$@ + cmd_gen = STUBDEF=__ASM_STUB_`echo $@ | tr a-z. A-Z_` ; \ + ( echo "/* File autogenerated by 'make headers_install' */" ; \ + echo "\#ifndef $$STUBDEF" ; \ + echo "\#define $$STUBDEF" ; \ + echo "\# if $(ARCHDEF)" ; \ + if [ -r $(srctree)/include/$(archasm)/$@ ]; then \ + echo "\# include <$(archasm)/$@>" ; \ + else \ + echo "\# error $(archasm)/$@ does not exist in the $(ARCH) architecture" ; \ + fi ; \ + echo "\# elif $(ALTARCHDEF)" ; \ + if [ -r $(srctree)/include/$(altarchasm)/$@ ]; then \ + echo "\# include <$(altarchasm)/$@>" ; \ + else \ + echo "\# error $(altarchasm)/$@ does not exist in the $(ALTARCH) architecture" ; \ + fi ; \ + echo "\# else" ; \ + echo "\# warning This machine appears to be neither $(ARCH) nor $(ALTARCH)." ; \ + echo "\# endif" ; \ + echo "\#endif /* $$STUBDEF */" ; \ + ) > $(INSTALL_HDR_PATH)/$(_dst)/$@ + +__headersinst: $(subdir-y) $(header-y) $(unifdef-y) $(altarch-y) $(objhdr-y) + +.PHONY: $(header-y) $(unifdef-y) $(subdir-y) + +ifdef HDRCHECK +# Rules for checking headers +$(objhdr-y) $(header-y) $(unifdef-y): + $(call cmd,check) +else +# Rules for installing headers + +$(objhdr-y) $(subdir-y) $(header-y) $(unifdef-y): $(_dst) + +.PHONY: $(_dst) +$(_dst): + $(call cmd,mkdir) + +ifdef GENASM +$(objhdr-y) $(header-y) $(unifdef-y): + $(call cmd,gen) + +else +$(objhdr-y): + $(call cmd,o_hdr_install) + +$(header-y): + $(call cmd,headers_install) + +$(unifdef-y): + $(call cmd,unifdef) +endif +endif + +.PHONY: altarch-dir +altarch-dir: + $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include/asm-$(ALTARCH) dst=include/asm-$(ALTARCH) + $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include/asm dst=include/asm + +# Recursion +$(subdir-y): + $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=$(obj)/$@ dst=$(_dst)/$@ rel=../$(rel) _