2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_VERSION
:=$(call qstrip
,$(CONFIG_GLIBC_VERSION
))
12 ifeq ($(PKG_VERSION
),2.3.6)
13 PKG_MD5SUM
:=40dce745d34ff80401da2fdfe58f6d53
15 ifeq ($(PKG_VERSION
),2.6.1)
16 PKG_MD5SUM
:=53d88ca624642dd267752ccce77b19d0
18 ifeq ($(PKG_VERSION
),2.7)
19 PKG_MD5SUM
:=eaeb8527b8fa286c2d887157214f9998
22 PKG_SOURCE_URL
:=@GNU
/glibc
/
23 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
25 PATCH_DIR
:=.
/patches
/$(PKG_VERSION
)
27 include $(INCLUDE_DIR
)/toolchain-build.mk
29 HOST_STAMP_BUILT
:=$(TOOLCHAIN_DIR
)/stamp
/.glibc-ports_built
30 HOST_STAMP_INSTALLED
:=$(TOOLCHAIN_DIR
)/stamp
/.glibc-ports_installed
33 $(call Host
/Prepare
/Default
)
34 ln
-snf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR_TOOLCHAIN
)/$(PKG_NAME
)
49 $(BUILD_DIR_TOOLCHAIN
)/$(PKG_NAME
)
52 $(eval
$(call HostBuild
))