install headers, fix foxboard-utils
authorClaudio Mignanti <c.mignanti@gmail.com>
Fri, 3 Jul 2009 12:49:50 +0000 (12:49 +0000)
committerClaudio Mignanti <c.mignanti@gmail.com>
Fri, 3 Jul 2009 12:49:50 +0000 (12:49 +0000)
SVN-Revision: 16661

toolchain/kernel-headers/Makefile

index 47737b0064c218923b1378bb4926824eea83f61d..ff2ce2331a4f74d5d73910e7ab2558008203ca97 100644 (file)
@@ -83,9 +83,7 @@ ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,2.6.28)),1)
   define Host/Prepare/post/cris
        $(CP) \
                $(HOST_BUILD_DIR)/include/linux/user.h \
-               $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/
-       $(CP) \
-               $(HOST_BUILD_DIR)/include/linux/user.h \
+               $(HOST_BUILD_DIR)/include/linux/autoconf.h \
                $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/
        $(CP) \
                $(HOST_BUILD_DIR)/include/asm-cris/elf.h \
@@ -109,6 +107,7 @@ else
   define Host/Prepare/post/cris
        $(CP) \
                $(HOST_BUILD_DIR)/include/linux/user.h \
+               $(HOST_BUILD_DIR)/include/linux/autoconf.h \
                $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/linux/
        ln -snf $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/arch-v10/arch \
                $(BUILD_DIR_TOOLCHAIN)/linux-dev/usr/include/arch