From: Ben Hutchings <ben@decadent.org.uk>
To: linux-kernel@vger.kernel.org
Cc: David Woodhouse <dwmw2@infradead.org>
Subject: [PATCH linux-firmware] cis: Add makefile for building CIS files from text format
Date: Wed, 04 Jan 2012 00:16:51 +0000 [thread overview]
Message-ID: <1325636211.13595.270.camel@deadeye> (raw)
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
Most of the CIS files come from the pcmcia-cs project and are built
from a text format using the pack_cis tool.
In pcmcia-cs 3.2.8, apparently the last release, pack_cis had some
bugs that are fatal when it is built with a current gcc and glibc.
Therefore I refer to my own repackaged version that runs successfully
and generates exactly the same binaries included here.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
I'll push this change out in a moment.
Ben.
cis/Makefile | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644 cis/Makefile
diff --git a/cis/Makefile b/cis/Makefile
new file mode 100644
index 0000000..0a222f1
--- /dev/null
+++ b/cis/Makefile
@@ -0,0 +1,14 @@
+# The pack_cis tool from cis-tools
+# <http://git.kernel.org/?p=utils/cis-tools/cis-tools.git>.
+PACK_CIS = pack_cis
+
+CIS_SRC := $(wildcard src/*.cis)
+CIS_BIN := $(notdir $(CIS_SRC))
+
+all: $(CIS_BIN)
+
+%.cis: src/%.cis
+ $(PACK_CIS) -o $@ $<
+
+clean:
+ rm -f $(CIS_BIN)
--
1.7.7.3
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
reply other threads:[~2012-01-04 0:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1325636211.13595.270.camel@deadeye \
--to=ben@decadent.org.uk \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox