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 STAGING_DIR_HOST
:=$(TOOLCHAIN_DIR
)
28 BUILD_DIR_HOST
:=$(BUILD_DIR_TOOLCHAIN
)
30 override CONFIG_AUTOREBUILD
=
32 include $(INCLUDE_DIR
)/host-build.mk
34 STAMP_BUILT
:=$(TOOLCHAIN_DIR
)/stamp
/.glibc-ports_built
35 STAMP_INSTALLED
:=$(TOOLCHAIN_DIR
)/stamp
/.glibc-ports_installed
38 $(call Host
/Prepare
/Default
)
39 ln
-snf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR_TOOLCHAIN
)/$(PKG_NAME
)
54 $(BUILD_DIR_TOOLCHAIN
)/$(PKG_NAME
)
57 $(eval
$(call HostBuild
))