aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files-network/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-20 15:01:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-20 15:01:06 +0000
commitc2b5767572c7cece21f7739e416d59458278b7d8 (patch)
treebbb6d468090141c8fe0367f573272ec8289fa755 /package/base-files-network/Makefile
parentfce837994043793008be610cb24154d649c7b190 (diff)
downloadupstream-c2b5767572c7cece21f7739e416d59458278b7d8.tar.gz
upstream-c2b5767572c7cece21f7739e416d59458278b7d8.tar.bz2
upstream-c2b5767572c7cece21f7739e416d59458278b7d8.zip
base-files: move network related scripts to a separate package to make the transition to netifd easier
SVN-Revision: 28495
Diffstat (limited to 'package/base-files-network/Makefile')
-rw-r--r--package/base-files-network/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/package/base-files-network/Makefile b/package/base-files-network/Makefile
new file mode 100644
index 0000000000..0a74196bc1
--- /dev/null
+++ b/package/base-files-network/Makefile
@@ -0,0 +1,44 @@
+#
+# Copyright (C) 2007-2011 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:=base-files-network
+PKG_RELEASE:=1
+
+PKG_BUILD_DEPENDS:=opkg/host
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/base-files-network
+ SECTION:=base
+ CATEGORY:=Base system
+ TITLE:=Network scripts for the OpenWrt base system
+ URL:=http://openwrt.org/
+ VERSION:=$(PKG_RELEASE)
+endef
+
+define Package/base-files-network/description
+ This package contains the network system scripts for OpenWrt.
+endef
+
+define Build/Prepare
+ mkdir -p $(PKG_BUILD_DIR)
+endef
+
+define Build/Compile
+
+endef
+
+define Package/base-files-network/install
+ $(CP) ./files/* $(1)/
+endef
+
+
+$(eval $(call BuildPackage,base-files-network))
+