n810 profile: add maemo-kexec
[openwrt/openwrt.git] / tools / cloog / 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:=cloog-ppl
10 PKG_VERSION:=0.15.9
11
12 PKG_SOURCE_URL:=ftp://gcc.gnu.org/pub/gcc/infrastructure
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_MD5SUM:=806e001d1b1a6b130069ff6274900af5
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 unexport CFLAGS
19
20 HOST_CONFIGURE_VARS += \
21 LIBS=-lstdc++
22
23 HOST_CONFIGURE_ARGS += \
24 --enable-static \
25 --disable-shared \
26 --with-ppl=$(BUILD_DIR_HOST)
27
28 define Host/Configure
29 (cd $(HOST_BUILD_DIR)/$(3); \
30 $(HOST_CONFIGURE_CMD) \
31 $(HOST_CONFIGURE_VARS) \
32 $(HOST_CONFIGURE_ARGS); \
33 )
34 endef
35
36
37 $(eval $(call HostBuild))