aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd
Commit message (Expand)AuthorAgeFilesLines
* rpcd: update to the latest versionLuka Perkov2015-07-151-2/+2
* rpcd: unload package after uci revertsJo-Philipp Wich2015-05-171-2/+2
* rpcd: update to latest git HEADJohn Crispin2015-04-141-2/+2
* rpcd: properly handle return codesJohn Crispin2015-03-301-2/+2
* rpcd: update to latest git HEADJohn Crispin2015-03-111-1/+1
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-111-2/+2
* rpcd: fix session.{login,list,destroy} method signaturesJo-Philipp Wich2015-02-091-3/+3
* rpcd: add 802.11ac for iwinfoFelix Fietkau2014-10-201-2/+2
* rpcd: update to the latest version, fixes build after libubox updateFelix Fietkau2014-10-191-2/+2
* rpcd: fix parsing of executable plugin outputJo-Philipp Wich2014-07-031-2/+2
* rpcd: update to the latest version, fixes build with muslFelix Fietkau2014-06-291-2/+2
* rpcd: update to the latest versionJohn Crispin2014-04-121-2/+2
* rpcd: build, uci and session api fixesJo-Philipp Wich2014-01-121-3/+3
* rpcd: fix missing option removal when merging subsequent uci set callsJo-Philipp Wich2013-09-291-2/+2
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-4/+7
* rpcd: update to git headJo-Philipp Wich2013-09-131-3/+4
* rpcd: update to git headJo-Philipp Wich2013-09-112-2/+17
* rpcd: update to git headJo-Philipp Wich2013-09-092-3/+11
* Add rpcd - an extensible backend server for ubus-over-json-rpc operations, se...Jo-Philipp Wich2013-09-022-0/+97
/* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk

PKG_NAME:=u-boot
PKG_VERSION:=2009.11
PKG_RELEASE:=1

PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
PKG_MD5SUM:=
PKG_TARGETS:=bin

include $(INCLUDE_DIR)/package.mk

define uboot/Default
  TITLE:=
  CONFIG:=
  IMAGE:=
endef

define uboot/qi_lb60
  TITLE:=U-boot for the qi_lb60 board
endef

define uboot/avt2
  TITLE:=U-boot for the avt2 board
endef

define uboot/sakc
  TITLE:=U-boot for the sakc board
endef

define uboot/n516
  TITLE:=U-boot for the N516 e-book reader
  CONFIG:=n516_nand
endef

UBOOTS:=qi_lb60 n516 avt2 sakc

define Package/uboot/template
define Package/uboot-xburst-$(1)
  SECTION:=boot
  CATEGORY:=Boot Loaders
  DEPENDS:=@TARGET_xburst
  TITLE:=$(2)
  URL:=http://www.denx.de/wiki/UBoot/WebHome
  VARIANT:=$(1)
endef
endef

define BuildUbootPackage
	$(eval $(uboot/Default))
	$(eval $(uboot/$(1)))
	$(call Package/uboot/template,$(1),$(TITLE))
endef


ifdef BUILD_VARIANT
$(eval $(call uboot/$(BUILD_VARIANT)))
UBOOT_CONFIG:=$(if $(CONFIG),$(CONFIG),$(BUILD_VARIANT))
UBOOT_IMAGE:=$(if $(IMAGE),$(IMAGE),openwrt-$(BOARD)-$(BUILD_BARIANT)-u-boot.bin)
endif

define Build/Prepare
	$(call Build/Prepare/Default)
	$(CP) ./files/* $(PKG_BUILD_DIR)
	find $(PKG_BUILD_DIR) -name .svn | $(XARGS) rm -rf
endef

define Build/Configure
	$(MAKE) -C $(PKG_BUILD_DIR) \
		$(UBOOT_CONFIG)_config
endef

define Build/Compile
	$(MAKE) -C $(PKG_BUILD_DIR) \
		CROSS_COMPILE=$(TARGET_CROSS)
endef

define Package/uboot/install/template
define Package/uboot-xburst-$(1)/install
	$(INSTALL_DIR) $$(1)
	$(CP) $(PKG_BUILD_DIR)/u-boot-nand.bin $(BIN_DIR)/$(2)
endef
endef

$(foreach u,$(UBOOTS), \
	$(eval $(call Package/uboot/install/template,$(u),openwrt-$(BOARD)-$(u)-u-boot.bin)) \
)

$(foreach u,$(UBOOTS), \
	$(eval $(call BuildUbootPackage,$(u))) \
	$(eval $(call BuildPackage,uboot-xburst-$(u))) \
)