2 # Copyright (C) 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
12 PKG_SOURCE_URL
:=ftp
://gcc.gnu.org
/pub
/gcc
/infrastructure
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_MD5SUM
:=806e001d1b1a6b130069ff6274900af5
16 include $(INCLUDE_DIR
)/host-build.mk
20 ifeq ($(HOST_OS
),Darwin
)
22 HOST_CONFIGURE_ARGS
:=$(filter-out --target
= --build
= --host
=,$(HOST_CONFIGURE_ARGS
))
25 HOST_CONFIGURE_VARS
+= \
28 HOST_CONFIGURE_ARGS
+= \
31 --with-ppl
=$(BUILD_DIR_HOST
)
34 (cd
$(HOST_BUILD_DIR
)/$(3); \
35 $(HOST_CONFIGURE_CMD
) \
36 $(HOST_CONFIGURE_VARS
) \
37 $(HOST_CONFIGURE_ARGS
); \
42 $(eval
$(call HostBuild
))