Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openwrt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Freifunk Luebeck
openwrt
Commits
9830851a
Commit
9830851a
authored
14 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
add ubus - the new openwrt message bus / rpc daemon
SVN-Revision: 25457
parent
b15d1a19
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/ubus/Makefile
+60
-0
60 additions, 0 deletions
package/ubus/Makefile
with
60 additions
and
0 deletions
package/ubus/Makefile
0 → 100644
+
60
−
0
View file @
9830851a
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
ubus
PKG_VERSION
:=
2011-02-11
PKG_RELEASE
:=
1
PKG_SOURCE_PROTO
:=
git
PKG_SOURCE_URL
:=
git://nbd.name/luci2/ubus.git
PKG_SOURCE_SUBDIR
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
PKG_SOURCE_VERSION
:=
f2ee96c51d38363092415cc333f8f7a62f16783a
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
-
$(
PKG_SOURCE_VERSION
)
.tar.gz
CMAKE_INSTALL
:=
1
include
$(INCLUDE_DIR)/package.mk
include
$(INCLUDE_DIR)/cmake.mk
define
Package/ubus
SECTION
:=
luci2
CATEGORY
:=
LuCI2
SUBMENU
:=
System
DEPENDS
:=
+libubus +ubusd
TITLE
:=
OpenWrt RPC client utility
endef
define
Package/ubusd
SECTION
:=
luci2
CATEGORY
:=
LuCI2
SUBMENU
:=
System
TITLE
:=
OpenWrt RPC daemon
endef
define
Package/libubus
SECTION
:=
luci2
CATEGORY
:=
LuCI2
SUBMENU
:=
Libraries
DEPENDS
:=
+libubox
TITLE
:=
OpenWrt RPC client library
endef
TARGET_CFLAGS
+=
-I
$(
STAGING_DIR
)
/usr/include
define
Package/ubus/install
$(INSTALL_DIR)
$(1)/bin
$(CP)
$(PKG_INSTALL_DIR)/usr/bin/ubus
$(1)/bin/
endef
define
Package/ubusd/install
$(INSTALL_DIR)
$(1)/sbin
$(CP)
$(PKG_INSTALL_DIR)/usr/sbin/ubusd
$(1)/sbin/
endef
define
Package/libubus/install
$(INSTALL_DIR)
$(1)/lib
$(CP)
$(PKG_INSTALL_DIR)/usr/lib/*
$(1)/lib/
endef
$(
eval
$(
call BuildPackage,ubus
))
$(
eval
$(
call BuildPackage,ubusd
))
$(
eval
$(
call BuildPackage,libubus
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment