1#
2# Copyright (C) 2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=ppl
10PKG_VERSION:=0.10.2
11
12PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_MD5SUM:=e7dd265afdeaea81f7e87a72b182d875
15
16HOST_FIXUP:=autoreconf
17
18include $(INCLUDE_DIR)/host-build.mk
19
20unexport CFLAGS
21
22HOST_CONFIGURE_ARGS += \
23	--enable-static \
24	--disable-shared
25
26define Host/Configure
27	(cd $(HOST_BUILD_DIR)/$(3); \
28		$(HOST_CONFIGURE_CMD) \
29		$(HOST_CONFIGURE_VARS) \
30		$(HOST_CONFIGURE_ARGS); \
31	)
32endef
33
34
35$(eval $(call HostBuild))
36