1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[boot] move boot related packages to their own folder

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33781 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2012-10-16 13:44:25 +00:00
parent 05a3ece84a
commit a3a71d430b
104 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=yamonenv
PKG_VERSION:=20051022
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/yamonenv
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=@TARGET_au1000
TITLE:=YAMON configuration utility
URL:=http://meshcube.org/nylon/stable/sources/
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
endef
define Build/Configure
endef
define Package/yamonenv/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,yamonenv))

View File

@@ -0,0 +1,11 @@
--- a/src/yamonenv.c
+++ b/src/yamonenv.c
@@ -12,7 +12,7 @@
#include <fcntl.h>
#include <unistd.h>
-#define DEFAULT_YAMON_ENV_FILE "/dev/mtd/3"
+#define DEFAULT_YAMON_ENV_FILE "/dev/mtd3"
// control byte definitions: