I've put together an updated set of kernel headers, so use that.

This commit is contained in:
Eric Andersen 2004-02-18 19:06:54 +00:00
parent 04eadcdcc2
commit c9d7729914

View File

@ -9,7 +9,7 @@
ifneq ($(filter $(TARGETS),kernel-headers),) ifneq ($(filter $(TARGETS),kernel-headers),)
LINUX_SITE:=http://www.uclibc.org/downloads/toolchain LINUX_SITE:=http://www.uclibc.org/downloads/toolchain
LINUX_SOURCE:=kernel-headers-2.4.21.tar.bz2 LINUX_SOURCE:=kernel-headers-2.4.25.tar.bz2
LINUX_DIR:=$(TOOL_BUILD_DIR)/linux LINUX_DIR:=$(TOOL_BUILD_DIR)/linux
# Used by pcmcia-cs and others # Used by pcmcia-cs and others
@ -43,8 +43,8 @@ $(LINUX_DIR)/.configured: $(LINUX_DIR)/.unpacked
(cd $(LINUX_DIR)/include; ln -fs asm-$(ARCH)$(NOMMU) asm;) \ (cd $(LINUX_DIR)/include; ln -fs asm-$(ARCH)$(NOMMU) asm;) \
fi fi
touch $(LINUX_DIR)/include/linux/autoconf.h; touch $(LINUX_DIR)/include/linux/autoconf.h;
echo "#define UTS_RELEASE \"2.4.21\"" > $(LINUX_DIR)/include/linux/version.h; echo "#define UTS_RELEASE \"2.4.25\"" > $(LINUX_DIR)/include/linux/version.h;
echo "#define LINUX_VERSION_CODE 132117" >> $(LINUX_DIR)/include/linux/version.h; echo "#define LINUX_VERSION_CODE 132121" >> $(LINUX_DIR)/include/linux/version.h;
echo "#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))" >> \ echo "#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))" >> \
$(LINUX_DIR)/include/linux/version.h; $(LINUX_DIR)/include/linux/version.h;
touch $(LINUX_DIR)/.configured touch $(LINUX_DIR)/.configured