Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Johannes Rudolph
lede-mikrotik
Commits
fc144fff
Commit
fc144fff
authored
17 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
add iw utility (untested)
SVN-Revision: 9637
parent
f9cca130
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/iw/Makefile
+46
-0
46 additions, 0 deletions
package/iw/Makefile
with
46 additions
and
0 deletions
package/iw/Makefile
0 → 100644
+
46
−
0
View file @
fc144fff
#
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
iw
PKG_REV
:=
11b24c28b802bae2abda8f46d457df60fa602594
PKG_VERSION
:=
20071130_
$(
PKG_REV
)
PKG_RELEASE
:=
1
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.gz
PKG_SOURCE_URL
:=
http://git.sipsolutions.net/iw.git
PKG_SOURCE_PROTO
:=
git
PKG_SOURCE_SUBDIR
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
PKG_SOURCE_VERSION
:=
$(
PKG_REV
)
PKG_BUILD_DEPENDS
:=
mac80211 libnl
include
$(INCLUDE_DIR)/package.mk
define
Package/iw
SECTION
:=
net
CATEGORY
:=
Network
TITLE
:=
cfg80211 interface configuration utility
URL
:=
http://git.sipsolutions.net/?p
=
iw.git
DEPENDS
:=
@!TARGET_avr32 @!TARGET_etrax +libnl
endef
define
Build/Configure
$(CP)
$(PKG_BUILD_DIR)/defconfig
$(PKG_BUILD_DIR)/.config
endef
MAKE_FLAGS
+=
\
CFLAGS
=
"
$(
TARGET_CFLAGS
)
-I
$(
STAGING_DIR
)
/usr/include/mac80211 -I
$(
STAGING_DIR
)
/usr/include/libnl -I
$(
STAGING_DIR
)
/usr/include"
\
LDFLAGS
=
"-L
$(
STAGING_DIR
)
/usr/lib -lnl"
define
Package/iw/install
$(INSTALL_DIR)
$(1)/usr/sbin
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/iw
$(1)/usr/sbin/
endef
$(
eval
$(
call BuildPackage,iw
))
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