lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 17 Dec 2011 04:31:06 +0000
From:	Ben Hutchings <ben@...adent.org.uk>
To:	linux-kernel@...r.kernel.org
Cc:	David Woodhouse <dwmw2@...radead.org>
Subject: [PATCH linux-firmware 4/4] keyspan_pda: Add makefile for building
 from source

The commands given in the source aren't quite right, and don't cover
use of ihex2fw.

Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
 WHENCE               |    2 ++
 keyspan_pda/Makefile |   12 ++++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 keyspan_pda/Makefile

diff --git a/WHENCE b/WHENCE
index ef51ac1..3b9f5e2 100644
--- a/WHENCE
+++ b/WHENCE
@@ -173,6 +173,8 @@ Source: keyspan_pda/keyspan_pda.S
 File: keyspan_pda/xircom_pgs.fw
 Source: keyspan_pda/xircom_pgs.S
 
+Source: keyspan_pda/Makefile
+
 Licence: GPLv2+
 
 Compiled from original 8051 source into Intel HEX, used in our binary ihex form.
diff --git a/keyspan_pda/Makefile b/keyspan_pda/Makefile
new file mode 100644
index 0000000..fc37ea4
--- /dev/null
+++ b/keyspan_pda/Makefile
@@ -0,0 +1,12 @@
+CC = gcc
+IHEX2FW = ihex2fw
+
+all: keyspan_pda.fw xircom_pgs.fw
+
+%.fw: %.S
+	$(CC) -x assembler-with-cpp -P -E -o $*.asm $<
+	as31 -l $*.asm
+	$(IHEX2FW) $*.hex $@
+
+clean:
+	rm -f *.asm *.fw *.hex *.lst *.obj
-- 
1.7.7.3



Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ