46c966d827ce2447a48dcdf0a01f61bac1c4a151
[openwrt.git] / tools / ppl / Makefile
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 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=ppl
10 PKG_VERSION:=0.10.2
11
12 PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_MD5SUM:=e7dd265afdeaea81f7e87a72b182d875
15
16 HOST_FIXUP:=autoreconf
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 unexport CFLAGS
21
22 HOST_CONFIGURE_ARGS += \
23         --enable-static \
24         --disable-shared
25
26 define Host/Configure
27         (cd $(HOST_BUILD_DIR)/$(3); \
28                 $(HOST_CONFIGURE_CMD) \
29                 $(HOST_CONFIGURE_VARS) \
30                 $(HOST_CONFIGURE_ARGS); \
31         )
32 endef
33
34
35 $(eval $(call HostBuild))