Commit Graph

10 Commits

Author SHA1 Message Date
Mario Limonciello c79933a830 Fix carl9170fw shell scripts for shellcheck errors
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
2023-08-30 23:03:50 -05:00
Konrad Weihmann eaee2dacc2
Makefile: replace mkdir by install
mkdir -p creates paths that are bound to user's settings and therefore
can lead to different file mode bits of the base paths accross different
machines.
Use install instead, as this tool is not prone to such behavior.

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2022-05-31 12:57:56 -04:00
Connor Behan d7f8a7c81a Remove executable permissions from firmware files
We should change these permissions unless there is a reason to keep them
executable.

Signed-off-by: Connor Behan <connor.behan@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-01-27 00:49:23 +00:00
Ben Hutchings 5e90385d9d Revert "carl9170: Add checksum during installation, as preferred by the driver"
This reverts commit 27bfb9d846.

There is no need to explicitly add a checksum, as the miniboot tool
normally does this for us.  I can't reproduce the behaviour where the
checksum was omitted.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-17 21:15:48 +00:00
Ben Hutchings 65a5163b8b carl9170: Install binary in the parent directory, not /lib/firmware
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-14 11:22:30 +00:00
Ben Hutchings 27bfb9d846 carl9170: Add checksum during installation, as preferred by the driver
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-14 11:21:38 +00:00
Ben Hutchings 9f43b7a6b0 carl9170: Add and check SHA-256 sums for the toolchain tarballs
The sums for binutils and gcc are based on an HTTPS download (instead
of the default HTTP).

newlib doesn't seem to be available with any kind of signature, so I
compared a tarball and CVS checkout; let's hope they weren't both
compromised.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-14 11:02:57 +00:00
Ben Hutchings 2837f7bf89 carl9170: Fix minimum CMake version
The CMAKE_CURRENT_LIST_DIR command was added in version 2.8.4.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-14 10:55:27 +00:00
Ben Hutchings 18b3046a4e carl9170: Add full licence texts to BSD-licenced CMake files
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-14 02:28:11 +00:00
Xose Vazquez Perez 32eb7c7307 linux-firmware: add carl9170 firmware
GPLv2 firmware for carl9170, Atheros AR9170 802.11 draft-n USB driver.

Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2013-01-14 02:20:40 +00:00