On 9/25/06, Matthew Burgess <[EMAIL PROTECTED]> wrote:
What about something like: tar -xf linux-2.6.18.x.tar.bz2 cd linux-2.6.18.x mkdir /tools/tmp make mrproper make headers_check # For testing make INSTALL_HDR_PATH=/tools/tmp headers_install cp -R /tools/tmp/include/* /tools/include rm -r /tools/tmp
I'd prefer the path to be within the kernel tree, but it doesn't matter much. By default, it will go to $(objtree)/usr. Maybe INSTALL_HDR_PATH=`pwd`/headers or something. Here are the relevant make bits: # --------------------------------------------------------------------------- # Kernel headers INSTALL_HDR_PATH=$(objtree)/usr export INSTALL_HDR_PATH PHONY += headers_install headers_install: include/linux/version.h $(Q)unifdef -Ux /dev/null $(Q)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 H DRCHECK=1 -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page