layerscape: support LEDE boot for ls1088ardb/ls2088ardb
[openwrt/staging/wigyori.git] / package / boot / fconfig / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=fconfig
11 PKG_VERSION:=20080329
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://andrzejekiert.ovh.org/software/fconfig/
16 PKG_HASH:=4ff0e8f07e35e46b705c0dbe9d9544ede01ea092a69e3f7db03e55a3f2bb8eb7
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/fconfig
23 SECTION:=utils
24 CATEGORY:=Utilities
25 SUBMENU:=Boot Loaders
26 TITLE:=RedBoot configuration editor
27 URL:=http://andrzejekiert.ovh.org/software.html.en
28 endef
29
30 define Package/fconfig/description
31 displays and (if writable) also edits the RedBoot configuration.
32 endef
33
34 define Build/Configure
35 endef
36
37 define Build/Compile
38 $(call Build/Compile/Default)
39 endef
40
41 define Package/fconfig/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fconfig $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,fconfig))