package/busybox: fix missing bit, refresh patches
[openwrt/svn-archive/archive.git] / toolchain / glibc-ports / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=glibc-ports
10 PKG_VERSION:=$(call qstrip,$(CONFIG_GLIBC_VERSION))
11
12 ifeq ($(PKG_VERSION),2.3.6)
13 PKG_MD5SUM:=40dce745d34ff80401da2fdfe58f6d53
14 endif
15 ifeq ($(PKG_VERSION),2.6.1)
16 PKG_MD5SUM:=53d88ca624642dd267752ccce77b19d0
17 endif
18 ifeq ($(PKG_VERSION),2.7)
19 PKG_MD5SUM:=eaeb8527b8fa286c2d887157214f9998
20 endif
21
22 PKG_SOURCE_URL:=@GNU/glibc/
23 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
24
25 PATCH_DIR:=./patches/$(PKG_VERSION)
26
27 include $(INCLUDE_DIR)/toolchain-build.mk
28
29 HOST_STAMP_BUILT:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_built
30 HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.glibc-ports_installed
31
32 define Host/Prepare
33 $(call Host/Prepare/Default)
34 ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
35 endef
36
37 define Host/Configure
38 endef
39
40 define Host/Compile
41 endef
42
43 define Host/Install
44 endef
45
46 define Host/Clean
47 rm -rf \
48 $(HOST_BUILD_DIR) \
49 $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
50 endef
51
52 $(eval $(call HostBuild))