mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
ralink-wifi-firmwares: Add firmware for MT7601U.
This commit is contained in:
@@ -1,14 +1,39 @@
|
||||
Copyright (c) 2005-2008, Ralink Technology Corp.
|
||||
Paul Lin <paul_lin@ralinktech.com.tw>
|
||||
Copyright (c) 2013, Ralink, A MediaTek Company
|
||||
All rights reserved.
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
Redistribution. Redistribution and use in binary form, without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* Redistributions must reproduce the above copyright notice and the
|
||||
following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
* Neither the name of Ralink Technology Corporation nor the names of its
|
||||
suppliers may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
* No reverse engineering, decompilation, or disassembly of this software
|
||||
is permitted.
|
||||
|
||||
Limited patent license. Ralink Technology Corporation grants a world-wide,
|
||||
royalty-free, non-exclusive license under patents it now or hereafter
|
||||
owns or controls to make, have made, use, import, offer to sell and
|
||||
sell ("Utilize") this software, but solely to the extent that any
|
||||
such patent is necessary to Utilize the software alone, or in
|
||||
combination with an operating system licensed under an approved Open
|
||||
Source license as listed by the Open Source Initiative at
|
||||
http://opensource.org/licenses. The patent license shall not apply to
|
||||
any other combinations which include this software. No hardware per
|
||||
se is licensed hereunder.
|
||||
|
||||
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
|
||||
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGE.
|
||||
|
||||
@@ -5,12 +5,16 @@ contained within the base system."
|
||||
HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/"
|
||||
COPYRIGHT="2005-2008, Ralink Technology Corp"
|
||||
LICENSE="Ralink WiFi Firmware"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
|
||||
srcGitRev="f386f04f11679fd31731bce42208bb4363b79e75"
|
||||
SOURCE_URI="https://github.com/freebsd/freebsd-src/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="327e6f4836c3c80ab388d53879f97a0bccd6b9f4873860750a0c00fecbcb39aa"
|
||||
SOURCE_DIR="freebsd-src-$srcGitRev/sys/contrib/dev/"
|
||||
|
||||
SOURCE_URI_2="http://firmware.openbsd.org/firmware/7.5/mtw-firmware-20230804.tgz"
|
||||
CHECKSUM_SHA256_2="5c8818030a02cf89917cb4af1ec65f95bc5c1dd6e8bc2208f60aafd097e1c45d"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
@@ -42,6 +46,12 @@ BUILD()
|
||||
|
||||
process_firmware ral ralinkwifi
|
||||
process_firmware run ralinkwifi
|
||||
|
||||
# copy OpenBSD firmware directly
|
||||
mkdir -p install-firmware/ralinkwifi/
|
||||
cd install-firmware/ralinkwifi/
|
||||
cp -r ../../../../sources-2/firmware/mtw* .
|
||||
cd ../..
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
Reference in New Issue
Block a user