2008-02-05 19:39:57 +00:00
|
|
|
#
|
2013-02-28 00:52:34 +00:00
|
|
|
# Copyright (C) 2008-2013 OpenWrt.org
|
2008-02-05 19:39:57 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=bison
|
2013-09-24 20:01:02 +00:00
|
|
|
PKG_VERSION:=3.0
|
2008-02-05 19:39:57 +00:00
|
|
|
|
2013-02-28 00:52:34 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2009-05-31 10:07:35 +00:00
|
|
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
2013-09-24 20:01:02 +00:00
|
|
|
PKG_MD5SUM:=a2624994561aa69f056c904c1ccb2880
|
2013-02-28 00:52:34 +00:00
|
|
|
PKG_CAT:=xzcat
|
2008-02-05 19:39:57 +00:00
|
|
|
|
2012-09-15 14:18:04 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
2008-02-05 19:39:57 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2012-08-12 12:34:30 +00:00
|
|
|
HOST_LDFLAGS += $(HOST_STATIC_LINKING)
|
2012-08-10 19:26:19 +00:00
|
|
|
|
2009-02-22 04:37:20 +00:00
|
|
|
define Host/Clean
|
2009-05-08 20:44:47 +00:00
|
|
|
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
2009-02-22 04:37:20 +00:00
|
|
|
$(call Host/Clean/Default)
|
2008-02-05 19:39:57 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|