pax_global_header 0000666 0000000 0000000 00000000064 13215703331 0014510 g ustar 00root root 0000000 0000000 52 comment=cdcde3471d57bf05f40054d6925c4343f14a59b3
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/ 0000775 0000000 0000000 00000000000 13215703331 0020403 5 ustar 00root root 0000000 0000000 open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/.editorconfig 0000664 0000000 0000000 00000001136 13215703331 0023061 0 ustar 00root root 0000000 0000000 # Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided this notice is
# preserved. This file is offered as-is, without any warranty.
# Names of contributors must not be used to endorse or promote products
# derived from this file without specific prior written permission.
# EditorConfig
# http://EditorConfig.org
# top-most EditorConfig file
root = true
# LF end-of-line, insert an empty new line and UTF-8
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
# Tab indentation
[makefile,Makefile]
indent_style = tab
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/.gitignore 0000664 0000000 0000000 00000000013 13215703331 0022365 0 ustar 00root root 0000000 0000000 /toolchain
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/.travis.yml 0000664 0000000 0000000 00000001167 13215703331 0022521 0 ustar 00root root 0000000 0000000 # Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided this notice is
# preserved. This file is offered as-is, without any warranty.
# Names of contributors must not be used to endorse or promote products
# derived from this file without specific prior written permission.
# See YAML format https://en.wikipedia.org/wiki/YAML
# See Travis CI (Continuous Integration) https://docs.travis-ci.com/
language: c
os:
- linux
addons:
apt:
packages:
- cmake
script:
- make toolchain
- make -C target_firmware
- make -C target_firmware clean
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/LICENCE.TXT 0000664 0000000 0000000 00000003436 13215703331 0022054 0 ustar 00root root 0000000 0000000 Files with a Qualcomm Atheros / Atheros licence fall under the following
licence. Please see NOTICES.TXT for information about other files in this
repository.
----
Copyright (c) 2013 Qualcomm Atheros, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted (subject to the limitations in the
disclaimer below) provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the
distribution.
* Neither the name of Qualcomm Atheros nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
GRANTED BY THIS LICENSE. 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.
----
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/Makefile 0000664 0000000 0000000 00000007571 13215703331 0022055 0 ustar 00root root 0000000 0000000 GMP_VER=6.1.1
GMP_URL=https://ftp.gnu.org/gnu/gmp/gmp-$(GMP_VER).tar.bz2
GMP_TAR=gmp-$(GMP_VER).tar.bz2
GMP_DIR=gmp-$(GMP_VER)
GMP_SUM=a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6
MPFR_VER=3.1.4
MPFR_URL=https://ftp.gnu.org/gnu/mpfr/mpfr-$(MPFR_VER).tar.bz2
MPFR_TAR=mpfr-$(MPFR_VER).tar.bz2
MPFR_DIR=mpfr-$(MPFR_VER)
MPFR_SUM=d3103a80cdad2407ed581f3618c4bed04e0c92d1cf771a65ead662cc397f7775
MPC_VER=1.0.3
MPC_URL=https://ftp.gnu.org/gnu/mpc/mpc-$(MPC_VER).tar.gz
MPC_TAR=mpc-$(MPC_VER).tar.gz
MPC_DIR=mpc-$(MPC_VER)
MPC_SUM=617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3
BINUTILS_VER=2.27
BINUTILS_URL=https://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VER).tar.bz2
BINUTILS_TAR=binutils-$(BINUTILS_VER).tar.bz2
BINUTILS_DIR=binutils-$(BINUTILS_VER)
BINUTILS_PATCHES=local/patches/binutils.patch local/patches/binutils-2.27_fixup.patch
BINUTILS_SUM=369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88
GCC_VER=6.3.0
GCC_URL=https://ftp.gnu.org/gnu/gcc/gcc-$(GCC_VER)/gcc-$(GCC_VER).tar.bz2
GCC_TAR=gcc-$(GCC_VER).tar.bz2
GCC_DIR=gcc-$(GCC_VER)
GCC_PATCHES=local/patches/gcc.patch local/patches/gcc-6.3.0_fixup.patch
GCC_SUM=f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f
BASEDIR=$(shell pwd)
TOOLCHAIN_DIR=$(BASEDIR)/toolchain
TARGET=xtensa-elf
DL_DIR=$(TOOLCHAIN_DIR)/dl
BUILD_DIR=$(TOOLCHAIN_DIR)/build
all: toolchain
# 1: package name
# 2: configure arguments
# 3: make command
define Common/Compile
mkdir -p $(BUILD_DIR)/$($(1)_DIR)
+cd $(BUILD_DIR)/$($(1)_DIR) && \
$(DL_DIR)/$($(1)_DIR)/configure \
--prefix=$(TOOLCHAIN_DIR)/inst \
$(2) && \
$(3)
endef
define GMP/Compile
$(call Common/Compile,GMP, \
--disable-shared --enable-static, \
$(MAKE) && $(MAKE) check && $(MAKE) -j1 install \
)
endef
define MPFR/Compile
$(call Common/Compile,MPFR, \
--disable-shared --enable-static \
--with-gmp=$(TOOLCHAIN_DIR)/inst, \
$(MAKE) && $(MAKE) check && $(MAKE) -j1 install \
)
endef
define MPC/Compile
$(call Common/Compile,MPC, \
--disable-shared --enable-static \
--with-gmp=$(TOOLCHAIN_DIR)/inst \
--with-mpfr=$(TOOLCHAIN_DIR)/inst, \
$(MAKE) && $(MAKE) check && $(MAKE) -j1 install \
)
endef
define BINUTILS/Compile
$(call Common/Compile,BINUTILS, \
--target=$(TARGET) \
--disable-werror, \
$(MAKE) && $(MAKE) -j1 install \
)
endef
define GCC/Compile
$(call Common/Compile,GCC, \
--target=$(TARGET) \
--enable-languages=c \
--disable-libssp \
--disable-shared \
--disable-libquadmath \
--with-gmp=$(TOOLCHAIN_DIR)/inst \
--with-mpfr=$(TOOLCHAIN_DIR)/inst \
--with-mpc=$(TOOLCHAIN_DIR)/inst \
--with-newlib, \
$(MAKE) && $(MAKE) -j1 install \
)
endef
# 1: package name
# 2: dependencies on other packages
define Build
$(DL_DIR)/$($(1)_TAR):
mkdir -p $(DL_DIR)
wget -N -P $(DL_DIR) $($(1)_URL)
printf "%s %s\n" $($(1)_SUM) $$@ | shasum -a 256 -c
$(DL_DIR)/$($(1)_DIR)/.prepared: $(DL_DIR)/$($(1)_TAR)
tar -C $(DL_DIR) -x$(if $(findstring bz2,$($(1)_TAR)),j,z)f $(DL_DIR)/$($(1)_TAR)
$(if $($(1)_PATCHES), \
cat $($(1)_PATCHES) | \
patch -p1 -d $(DL_DIR)/$($(1)_DIR))
touch $$@
$(1)_DEPENDS = $(foreach pkg,$(2),$(BUILD_DIR)/$($(pkg)_DIR)/.built)
$(BUILD_DIR)/$($(1)_DIR)/.built: $(DL_DIR)/$($(1)_DIR)/.prepared $$($(1)_DEPENDS)
mkdir -p $(BUILD_DIR)/$($(1)_DIR)
$($(1)/Compile)
touch $$@
clean-dl-$(1):
rm -rf $(DL_DIR)/$($(1)_DIR)
toolchain: $(BUILD_DIR)/$($(1)_DIR)/.built
clean-dl: clean-dl-$(1)
download: $(DL_DIR)/$($(1)_DIR)/.prepared
endef
all: toolchain firmware
toolchain-clean:
rm -rf $(TOOLCHAIN_DIR)/build $(TOOLCHAIN_DIR)/inst
clean-dl:
download:
toolchain:
clean:
$(MAKE) -C target_firmware clean
firmware: toolchain
+$(MAKE) -C target_firmware
.PHONY: all toolchain-clean clean clean-dl download toolchain firmware
$(eval $(call Build,GMP))
$(eval $(call Build,MPFR,GMP))
$(eval $(call Build,MPC,GMP MPFR))
$(eval $(call Build,BINUTILS))
$(eval $(call Build,GCC,MPC MPFR))
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/NOTICE.TXT 0000664 0000000 0000000 00000015733 13215703331 0021776 0 ustar 00root root 0000000 0000000 This NOTICE.TXT file contains certain notices of software components included
with the software that QUALCOMM ATHEROS Incorporated ('Qualcomm Atheros') is
required to provide you. Notwithstanding anything in the notices in this file,
your use of these software components together with the Qualcomm Atheros
software (Qualcomm Atheros software hereinafter referred to as 'Software') is
subject to the terms of your license from Qualcomm Atheros. Compliance with
all copyright laws and software license agreements included in the notice
section of this file are the responsibility of the user. Except as may be
granted by separate express written agreement, this file provides no license
to any Qualcomm Atheros patents, trademarks, copyrights, or other intellectual
property.
Copyright (c) 2013 QUALCOMM ATHEROS Incorporated. All rights reserved.
QUALCOMM ATHEROS® is a registered trademark and registered service mark of
QUALCOMM ATHEROS Incorporated. All other trademarks and service marks are
the property of their respective owners.
NOTICES:
/*
* Copyright (c) 2005-2012 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or 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.
*
* 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.
*/
/*
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
* Copyright (c) 2002-2005 Atheros Communications, Inc.
* Copyright (c) 2008-2010, Atheros Communications Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following NO
* ''WARRANTY'' disclaimer below (''Disclaimer''), without
* modification.
* 2. Redistributions in binary form must reproduce at minimum a
* disclaimer similar to the Disclaimer below and any redistribution
* must be conditioned upon including a substantially similar
* Disclaimer requirement for further binary redistribution.
* 3. Neither the names of the above-listed copyright holders nor the
* names of any contributors may be used to endorse or promote
* product derived from this software without specific prior written
* permission.
*
* NO WARRANTY
* 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 NONINFRINGEMENT,
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
* FOR 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 DAMAGES.
*/
----
The following files are from ECoS with a GPLv2 licence with modification
and linking caveats. Please see the licence below for more information:
sboot/magpie_1_1/sboot/cmnos/printf/src/cmnos_printf.c
target_firmware/magpie_fw_dev/target/cmnos/cmnos_printf.c
target_firmware/magpie_fw_dev/target/cmnos/k2_fw_cmnos_printf.c
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
// Copyright (C) 2002 Gary Thomas
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
----
Some of the source code is sourced from Tensilica, Inc.
Although most of the files fall under the MIT licence, some of the source
files generated as part of the system development have a proprietary
Tensilica licence.
With permission from Tensilica, Inc, these files have been relicenced
under the following licence:
/*
* Copyright (c) 2013 Tensilica Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/README 0000664 0000000 0000000 00000005125 13215703331 0021266 0 ustar 00root root 0000000 0000000 This is the firmware for the Qualcomm Atheros AR7010 and AR9271 USB
802.11n NICs.
What is this exactly?
---------------------
This is the firmware which resides in RAM on the AR7010/AR9271 NICs.
It is used by ath9k (Linux) and athn (OpenBSD) to provide wireless
services.
What licence is this covered by?
--------------------------------
The Qualcomm Atheros owned code is under the ClearBSD licence.
The NOTICES.TXT file contains copyright notices for software which
this firmware release leverages.
There is some code that is based off of work done under contract
but is owned by Qualcomm Atheros; the original copyright statements
from that work are in NOTICES.TXT.
The Tensilica code (xtos/xtensa) is distributed with permission from
Tensilica, Inc., under the MIT licence.
There are three ECOS source files distributed under the terms of
the GPLv2, with a caveat that linking or using the source files does
not bring the rest of the binary under the GPLv2. Please read the
ECOS caveats in more detail.
Ok, what are those NICs?
------------------------
The AR7010 is a USB/PCIe SoC with onboard RAM, ROM and flash.
It comes with an external wireless chip connected via PCIe - typically
an AR9280 or AR9287.
The AR9271 is a USB/Wifi SoC with onboad RAM, ROM, flash and the
actual wireless chip. The wireless core is an off-shoot of the AR9285.
It is a single-chip solution.
How do I build it?
------------------
You're in for a treat.
* Install the cmake build tool (http://www.cmake.org/).
Major distributions have packages for this.
* For FreeBSD - install gmake and wget.
* You first have to build the toolchain.
* Linux:
$ make toolchain
* FreeBSD:
$ gmake toolchain
(Yes, I made this work on FreeBSD as well.)
* Next, build the firmware.
* Linux:
$ make -C target_firmware
* FreeBSD:
$ gmake -C target_firmware
You will end up with two .fw files - one for the AR7010 and one for
the AR9271 in the target_firmware directory.
You can clean the firmware build (when you wish to force a rebuild)
by doing:
* Linux:
$ make -C target_firmware clean
* FreeBSD:
$ gmake -C target_firmware clean
Then what?
----------
You need to then copy this into the relevant location for your operating
system. Yes, this means you need a driver. No, there's no FreeBSD
driver yet for this particular chipset, sorry.
Where do I file bugs?
---------------------
Please file bugs in github - http://github.com/qca/open-ath9k-htc-firmware/issues .
Mailing lists?
--------------
Here you go:
http://lists.infradead.org/mailman/listinfo/ath9k_htc_fw
And
ath9k_htc_fw@lists.infradead.org
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/ 0000775 0000000 0000000 00000000000 13215703331 0021625 5 ustar 00root root 0000000 0000000 open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/ath9k_htc.conf 0000664 0000000 0000000 00000000037 13215703331 0024352 0 ustar 00root root 0000000 0000000 options ath9k_htc use_dev_fw=1
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/changelog 0000664 0000000 0000000 00000001436 13215703331 0023503 0 ustar 00root root 0000000 0000000 open-ath9k-htc-firmware (1.4.0-97-g75b3e59+dfsg-1) unstable; urgency=medium
* update to latest upstream version 1.4.0-97-g75b3e59
-- Oleksij Rempel Mon, 18 Dec 2017 09:13:38 +0000
open-ath9k-htc-firmware (1.4.0-81-gf206e56+dfsg-3) unstable; urgency=medium
* Use GCC 7
-- Oleksij Rempel Tue, 12 Dec 2017 17:10:53 +0000
open-ath9k-htc-firmware (1.4.0-81-gf206e56+dfsg-2) unstable; urgency=low
* Set "Auto-Built-Package: debug-symbols" for -dbgsym package.
-- Oleksij Rempel Sat, 29 Apr 2017 17:41:41 +0200
open-ath9k-htc-firmware (1.4.0-81-gf206e56+dfsg-1) unstable; urgency=low
* Initial Release. Closes: #751339, #711470
-- Oleksij Rempel Sun, 25 Sep 2016 17:24:10 +0000
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/compat 0000664 0000000 0000000 00000000003 13215703331 0023024 0 ustar 00root root 0000000 0000000 10
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/control 0000664 0000000 0000000 00000001250 13215703331 0023226 0 ustar 00root root 0000000 0000000 Source: open-ath9k-htc-firmware
Maintainer: Oleksij Rempel
Uploaders:
Paul Fertser ,
Section: misc
Priority: optional
Build-Depends:
binutils-source,
bison,
cmake,
debhelper (>= 10),
flex,
gcc-7-source,
libmpc-dev,
Standards-Version: 4.1.2
Homepage: https://github.com/qca/open-ath9k-htc-firmware
Vcs-Browser: https://github.com/olerem/firmware-ath9k-htc
Vcs-Git: https://github.com/olerem/firmware-ath9k-htc
Package: firmware-ath9k-htc
Architecture: all
Multi-Arch: foreign
Depends:
${misc:Depends},
Description: QCA ath9k-htc Firmware
Opensource version of QCA ath9k-htc Firmware.
Supported chips are: ar9271 and ar7010
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/copyright 0000664 0000000 0000000 00000050540 13215703331 0023564 0 ustar 00root root 0000000 0000000 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: The firmware for QCA AR7010/AR9271 802.11n USB NICs
Source: https://github.com/qca/open-ath9k-htc-firmware/
Files-Excluded: sboot/* docs/*
Comment: Directories sboot/ and docs/ of upstream repository contain binary
objects that are useful for reference and in-depth debugging purposes only
and are not needed to generate a firmware image, hence they're removed
during repacking to provide a DFSG-compliant tarball of original sources.
.
Contents of the upstream NOTICE.TXT verbatim:
.
This NOTICE.TXT file contains certain notices of software components included
with the software that QUALCOMM ATHEROS Incorporated ('Qualcomm Atheros') is
required to provide you. Notwithstanding anything in the notices in this file,
your use of these software components together with the Qualcomm Atheros
software (Qualcomm Atheros software hereinafter referred to as 'Software') is
subject to the terms of your license from Qualcomm Atheros. Compliance with
all copyright laws and software license agreements included in the notice
section of this file are the responsibility of the user. Except as may be
granted by separate express written agreement, this file provides no license
to any Qualcomm Atheros patents, trademarks, copyrights, or other intellectual
property.
.
Copyright (c) 2013 QUALCOMM ATHEROS Incorporated. All rights reserved.
.
QUALCOMM ATHEROS╝ is a registered trademark and registered service mark of
QUALCOMM ATHEROS Incorporated. All other trademarks and service marks are
the property of their respective owners.
.
NOTICES:
.
/*
* Copyright (c) 2005-2012 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or 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.
*
* 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.
*/
.
/*
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
* Copyright (c) 2002-2005 Atheros Communications, Inc.
* Copyright (c) 2008-2010, Atheros Communications Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following NO
* ''WARRANTY'' disclaimer below (''Disclaimer''), without
* modification.
* 2. Redistributions in binary form must reproduce at minimum a
* disclaimer similar to the Disclaimer below and any redistribution
* must be conditioned upon including a substantially similar
* Disclaimer requirement for further binary redistribution.
* 3. Neither the names of the above-listed copyright holders nor the
* names of any contributors may be used to endorse or promote
* product derived from this software without specific prior written
* permission.
*
* NO WARRANTY
* 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 NONINFRINGEMENT,
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
* FOR 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 DAMAGES.
*/
.
----
.
The following files are from ECoS with a GPLv2 licence with modification
and linking caveats. Please see the licence below for more information:
.
sboot/magpie_1_1/sboot/cmnos/printf/src/cmnos_printf.c
target_firmware/magpie_fw_dev/target/cmnos/cmnos_printf.c
target_firmware/magpie_fw_dev/target/cmnos/k2_fw_cmnos_printf.c
.
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
// Copyright (C) 2002 Gary Thomas
//
// eCos is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2 or (at your option) any later version.
//
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
//
// As a special exception, if other files instantiate templates or use macros
// or inline functions from this file, or you compile this file and link it
// with other works to produce a work based on this file, this file does not
// by itself cause the resulting work to be covered by the GNU General Public
// License. However the source code for this file must still be made available
// in accordance with section (3) of the GNU General Public License.
//
// This exception does not invalidate any other reasons why a work based on
// this file might be covered by the GNU General Public License.
//
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
// at http://sources.redhat.com/ecos/ecos-license/
// -------------------------------------------
//####ECOSGPLCOPYRIGHTEND####
.
----
.
Some of the source code is sourced from Tensilica, Inc.
.
Although most of the files fall under the MIT licence, some of the source
files generated as part of the system development have a proprietary
Tensilica licence.
.
With permission from Tensilica, Inc, these files have been relicenced
under the following licence:
.
/*
* Copyright (c) 2013 Tensilica Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
Files: *
Copyright: 2013, Qualcomm Atheros, Inc.
License: BSD-3-clause-from-Qualcomm-Atheros
Files: debian/*
Copyright: 2016, Paul Fertser
2016, Oleksij Rempel
License: GPL-2+
Files: debian/cross-toolchain.mk
Copyright: 2016, Aurelien Jarno
License: GPL-2+
Files: scripts/*
Copyright: 2008-2010, Andy Whitcroft
2007, 2008, Andy Whitcroft (new conditions, test suite)
2005, Joel Schopp (the ugly bit)
2001, Dave Jones. (the file handling bit)
License: GPL-2
Files: target_firmware/include/*
Copyright: 2016, Oleksij Rempel
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause-from-Qualcomm-Atheros
Files: target_firmware/magpie_fw_dev/target/cmnos/k2_fw_cmnos_printf.c
Copyright: 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
2002, Gary Thomas
License: GPL-2+ with linking exception
-------------------------------------------
This file is part of eCos, the Embedded Configurable Operating System.
Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
Copyright (C) 2002 Gary Thomas
.
eCos is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 or (at your option) any later version.
.
eCos is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
.
You should have received a copy of the GNU General Public License along
with eCos; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.
As a special exception, if other files instantiate templates or use macros
or inline functions from this file, or you compile this file and link it
with other works to produce a work based on this file, this file does not
by itself cause the resulting work to be covered by the GNU General Public
License. However the source code for this file must still be made available
in accordance with section (3) of the GNU General Public License.
.
This exception does not invalidate any other reasons why a work based on
this file might be covered by the GNU General Public License.
.
Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
at http://sources.redhat.com/ecos/ecos-license/
-------------------------------------------
Files: target_firmware/magpie_fw_dev/target/hif/usb_api_main_patch.c
Copyright: 2016, Oleksij Rempel
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause-from-Qualcomm-Atheros
Files: target_firmware/magpie_fw_dev/target/inc/asf_queue.h
Copyright: 1991, 1993, The Regents of the University of California.
License: BSD-3-clause-from-Regents
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
Files: target_firmware/magpie_fw_dev/target/inc/xtensa-elf/*
Copyright: 2013, Tensilica Inc.
License: Expat
Files: target_firmware/magpie_fw_dev/target/inc/xtensa/*
Copyright: 2013, Tensilica Inc.
License: Expat
Files: target_firmware/magpie_fw_dev/target/init/app_start.h
Copyright: 2016, Oleksij Rempel
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause-from-Qualcomm-Atheros
Files: target_firmware/wlan/_ieee80211.h
target_firmware/wlan/ieee80211.h
Copyright: 2002-2005, Sam Leffler, Errno Consulting
2001, Atsushi Onoe
License: BSD-3-clause or GPL-2
Files: target_firmware/wlan/ah_osdep.h
Copyright: 2013, Qualcomm Atheros, Inc.
2002-2004, Sam Leffler, Errno Consulting, Atheros
License: BSD-3-clause-from-Qualcomm-Atheros
Files: target_firmware/wlan/if_ath_pci.c
target_firmware/wlan/if_ath_pci.h
Copyright: 2013, Qualcomm Atheros, Inc.
2004, Atheros Communications, Inc.
2002-2004, Sam Leffler, Errno Consulting
License: BSD-3-clause-from-Qualcomm-Atheros or GPL-2
Files: target_firmware/wlan/if_athrate.h
Copyright: 2013, Qualcomm Atheros, Inc.
2004, Video54 Technologies, Inc.
2004, Sam Leffler, Errno Consulting
License: BSD-3-clause-from-Qualcomm-Atheros or GPL-2
Files: target_firmware/wlan/if_llc.h
Copyright: 1988, 1993, The Regents of the University of California
2013, Qualcomm Atheros, Inc.
2002-2004, Sam Leffler, Errno Consulting
License: BSD-3-clause-from-Qualcomm-Atheros and BSD-4-clause-from-Regents or GPL-2
License: BSD-3-clause-from-Qualcomm-Atheros
All rights reserved.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted (subject to the limitations in the
disclaimer below) provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the
distribution.
.
* Neither the name of Qualcomm Atheros nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
.
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
GRANTED BY THIS LICENSE. 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.
License: BSD-4-clause-from-Regents
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
License: BSD-3-clause
All rights reserved.
.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: GPL-2
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License version 2, as published by the Free Software Foundation.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/cross-toolchain.mk 0000664 0000000 0000000 00000006310 13215703331 0025265 0 ustar 00root root 0000000 0000000 # Copyright (c) 2016 Aurelien Jarno
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This makefile allows to quickly build minimalistic cross-compilers
# for various targets. They only support the C language and do not
# support a C library.
#
# Most of the code is borrowed from the openbios Debian source package
#
# Support multiple makes at once based on number of processors
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
njobs = -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
gcc_major_version = 7
# GCC does not build with some hardening options and anyway we do not
# ship the resulting binaries in the package
toolchain_build_flags = CFLAGS="-g -O2" CXXFLAGS="-g -O2" CPPFLAGS="" LDFLAGS=""
target = $(filter-out %_,$(subst _,_ ,$@))
toolchain_dir = $(CURDIR)/cross-toolchain
stamp = $(toolchain_dir)/stamp-
binutils_src_dir = /usr/src/binutils
binutils_unpack_dir = $(toolchain_dir)/binutils-source
binutils_build_dir = $(toolchain_dir)/binutils-$(target)
gcc_src_dir = /usr/src/gcc-$(gcc_major_version)
gcc_unpack_dir = $(toolchain_dir)/gcc-source
gcc_build_dir = $(toolchain_dir)/gcc-$(target)
# Use only xtensa-specific patches on top of upstream version
binutils_patch = local/patches/binutils.patch
gcc_patch = local/patches/gcc.patch
$(stamp)binutils_unpack:
mkdir -p $(binutils_unpack_dir)
cd $(binutils_unpack_dir) && \
tar --strip-components=1 -xf $(binutils_src_dir)/binutils-*.tar.* && \
patch -p1 < $(CURDIR)/$(binutils_patch)
touch $@
$(stamp)binutils_%: $(stamp)binutils_unpack
mkdir -p $(binutils_build_dir)
cd $(binutils_build_dir) && \
$(binutils_unpack_dir)/configure \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE) \
--target=$(target) \
--prefix=$(toolchain_dir) \
--disable-nls \
--disable-plugins \
$(toolchain_build_flags)
$(MAKE) $(njobs) -C $(binutils_build_dir) all
$(MAKE) $(njobs) -C $(binutils_build_dir) install
touch $@
$(stamp)gcc_unpack:
mkdir -p $(gcc_unpack_dir)
cd $(gcc_unpack_dir) && \
tar --strip-components=1 -xf $(gcc_src_dir)/gcc-*.tar.* && \
patch -p1 < $(CURDIR)/$(gcc_patch) && \
patch -p2 < $(gcc_src_dir)/patches/gcc-gfdl-build.diff
touch $@
$(stamp)gcc_%: $(stamp)binutils_% $(stamp)gcc_unpack
mkdir -p $(gcc_build_dir)
cd $(gcc_build_dir) && \
$(gcc_unpack_dir)/configure \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE) \
--target=$(target) \
--prefix=$(toolchain_dir) \
--enable-languages="c" \
--disable-multilib \
--disable-libffi \
--disable-libgomp \
--disable-libmudflap \
--disable-libquadmath \
--disable-libssp \
--disable-nls \
--disable-shared \
--disable-threads \
--disable-tls \
--disable-plugins \
--with-gnu-as \
--with-gnu-ld \
--with-headers=no \
--without-newlib \
$(toolchain_build_flags)
$(MAKE) $(njobs) -C $(gcc_build_dir) all
$(MAKE) $(njobs) -C $(gcc_build_dir) install
touch $@
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/firmware-ath9k-htc.install 0000664 0000000 0000000 00000000221 13215703331 0026616 0 ustar 00root root 0000000 0000000 debian/ath9k_htc.conf etc/modprobe.d/
target_firmware/htc_*.fw lib/firmware/ath9k_htc/
debian/firmware-ath9k-htc.metainfo.xml usr/share/metainfo
open-ath9k-htc-firmware-1.4.0-97-g75b3e59+dfsg/debian/firmware-ath9k-htc.metainfo.xml 0000664 0000000 0000000 00000002740 13215703331 0027561 0 ustar 00root root 0000000 0000000
firmware-ath9k-htcMITfirmware-ath9k-htcOpensource version of QCA ath9k-htc firmware
Opensource version of QCA ath9k-htc firmware.
Supported chips are: ar9271 and ar7010.