diff options
author | mingli.yu@windriver.com <mingli.yu@windriver.com> | 2016-07-14 17:48:27 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-07-15 11:02:53 -0400 |
commit | 59c338afc3124d11656366b7e1dbdba279e21422 (patch) | |
tree | 0a63ae77cf06ea15d4eb348395837fd2c7b1a7c2 /recipes-extended/iasl/iasl | |
parent | b657b65354d3146e7a2165a6818c8724ea4f28b9 (diff) | |
download | meta-virtualization-59c338afc3124d11656366b7e1dbdba279e21422.tar.gz |
iasl: Upgrade to 20160527 from 20120215
* Upgrade iasl from 20120215 to 20160527
* Fix the dependency as it actually depends on
bison-native and flex-native
* Remove hardcode PR to let PR server handle
the version
* Add (x86_64.*|i.86.*)-linux to COMPATIBLE_HOST
* Add patch Make-CC-definition-conditional.patch
to make CC definition conditional as it makes
the package unable to cross-compile when hardcode
CC's definition previously.
* Add iasl command manual file as iasl.1
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/iasl/iasl')
-rw-r--r-- | recipes-extended/iasl/iasl/Make-CC-definition-conditional.patch | 29 | ||||
-rw-r--r-- | recipes-extended/iasl/iasl/iasl.1 | 135 |
2 files changed, 164 insertions, 0 deletions
diff --git a/recipes-extended/iasl/iasl/Make-CC-definition-conditional.patch b/recipes-extended/iasl/iasl/Make-CC-definition-conditional.patch new file mode 100644 index 00000000..f69a36c6 --- /dev/null +++ b/recipes-extended/iasl/iasl/Make-CC-definition-conditional.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | [PATCH] Make CC definition conditional | ||
2 | |||
3 | Upstream-Status: pending | ||
4 | |||
5 | By hardcoding CC's definition to gcc, make this packages unable to | ||
6 | cross-compile. the -e options of make can not override the CC since | ||
7 | it is not defined in Makefile, but in Makefile.config | ||
8 | |||
9 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
10 | --- | ||
11 | generate/unix/Makefile.config | 4 ++-- | ||
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config | ||
15 | index 8d41399..72d597d 100644 | ||
16 | --- a/generate/unix/Makefile.config | ||
17 | +++ b/generate/unix/Makefile.config | ||
18 | @@ -35,7 +35,7 @@ | ||
19 | .SUFFIXES : | ||
20 | PROGS = acpibin acpidump acpiexamples acpiexec acpihelp acpinames acpisrc acpixtract iasl | ||
21 | HOST ?= _CYGWIN | ||
22 | -CC = gcc | ||
23 | +CC ?= gcc | ||
24 | |||
25 | # | ||
26 | # Common defines | ||
27 | -- | ||
28 | 1.9.1 | ||
29 | |||
diff --git a/recipes-extended/iasl/iasl/iasl.1 b/recipes-extended/iasl/iasl/iasl.1 new file mode 100644 index 00000000..000a3b81 --- /dev/null +++ b/recipes-extended/iasl/iasl/iasl.1 | |||
@@ -0,0 +1,135 @@ | |||
1 | .\" First parameter, NAME, should be all caps | ||
2 | .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection | ||
3 | .\" other parameters are allowed: see man(7), man(1) | ||
4 | .TH IASL 1 "October 14, 2005" | ||
5 | .\" Please adjust this date whenever revising the manpage. | ||
6 | .\" | ||
7 | .\" Some roff macros, for reference: | ||
8 | .\" .nh disable hyphenation | ||
9 | .\" .hy enable hyphenation | ||
10 | .\" .ad l left justify | ||
11 | .\" .ad b justify to both left and right margins | ||
12 | .\" .nf disable filling | ||
13 | .\" .fi enable filling | ||
14 | .\" .br insert line break | ||
15 | .\" .sp <n> insert n+1 empty lines | ||
16 | .\" for manpage-specific macros, see man(7) | ||
17 | .SH NAME | ||
18 | iasl \- ACPI Source Language compiler/decompiler | ||
19 | .SH SYNOPSIS | ||
20 | .B iasl | ||
21 | .RI [ options ] | ||
22 | .RI [ "input file" ] | ||
23 | .SH DESCRIPTION | ||
24 | This manual page documents briefly the | ||
25 | .B iasl | ||
26 | command. The option list is taken from the iasl interactive help. | ||
27 | .PP | ||
28 | .\" TeX users may be more comfortable with the \fB<whatever>\fP and | ||
29 | .\" \fI<whatever>\fP escape sequences to invode bold face and italics, | ||
30 | .\" respectively. | ||
31 | .B iasl | ||
32 | is an ASL compiler and decompiler. | ||
33 | |||
34 | .SH OPTIONS | ||
35 | |||
36 | .PP | ||
37 | .SS General Output | ||
38 | .TP | ||
39 | .B \-p <prefix> | ||
40 | Specify filename prefix for all output files (including .aml) | ||
41 | .TP | ||
42 | .B \-vi | ||
43 | Less verbose errors and warnings for use with IDEs | ||
44 | .TP | ||
45 | .B \-vo | ||
46 | Enable optimization comments | ||
47 | .TP | ||
48 | .B \-vr | ||
49 | Disable remarks | ||
50 | .TP | ||
51 | .B \-vs | ||
52 | Disable signon | ||
53 | |||
54 | .PP | ||
55 | .SS AML Output Files | ||
56 | .TP | ||
57 | .B \-s<a|c> | ||
58 | Create AML in assembler or C source file (*.asm or *.c) | ||
59 | .TP | ||
60 | .B \-i<a|c> | ||
61 | Create assembler or C include file (*.inc or *.h) | ||
62 | .TP | ||
63 | .B \-t<a|c> | ||
64 | Create AML in assembler or C hex table (*.hex) | ||
65 | |||
66 | .PP | ||
67 | .SS AML Code Generation | ||
68 | .TP | ||
69 | .B \-oa | ||
70 | Disable all optimizations (compatibility mode) | ||
71 | .TP | ||
72 | .B \-of | ||
73 | Disable constant folding | ||
74 | .TP | ||
75 | .B \-oi | ||
76 | Disable integer optimization to Zero/One/Ones | ||
77 | .TP | ||
78 | .B \-on | ||
79 | Disable named reference string optimization | ||
80 | .TP | ||
81 | .B \-r<Revision> | ||
82 | Override table header Revision (1-255) | ||
83 | |||
84 | .PP | ||
85 | .SS Listings | ||
86 | .TP | ||
87 | .B \-l | ||
88 | Create mixed listing file (ASL source and AML) (*.lst) | ||
89 | .TP | ||
90 | .B \-ln | ||
91 | Create namespace file (*.nsp) | ||
92 | .TP | ||
93 | .B \-ls | ||
94 | Create combined source file (expanded includes) (*.src) | ||
95 | |||
96 | .PP | ||
97 | .SS AML Disassembler | ||
98 | .TP | ||
99 | .B \-d [file] | ||
100 | Disassemble AML to ASL source code file (*.dsl) | ||
101 | .TP | ||
102 | .B \-dc [file] | ||
103 | Disassemble AML and immediately compile it | ||
104 | .br | ||
105 | (Obtain DSDT from current system if no input file) | ||
106 | .TP | ||
107 | .B \-e | ||
108 | Generate External() statements for unresolved symbols | ||
109 | .TP | ||
110 | .B \-g | ||
111 | Get ACPI tables and write to files (*.dat) | ||
112 | |||
113 | .PP | ||
114 | .SS Miscellaneous | ||
115 | .TP | ||
116 | .B \-a | ||
117 | Verify source file is entirely ASCII text (0x00-0x7F) | ||
118 | |||
119 | .PP | ||
120 | .SS Help | ||
121 | .TP | ||
122 | .B \-h | ||
123 | Additional help and compiler debug options | ||
124 | .TP | ||
125 | .B \-hc | ||
126 | Display operators allowed in constant expressions | ||
127 | .TP | ||
128 | .B \-hr | ||
129 | Display ACPI reserved method names | ||
130 | |||
131 | .SH AUTHOR | ||
132 | iasl was written by Robert Moore <robert.moore@intel.com>. | ||
133 | .PP | ||
134 | This manual page was written by Mattia Dongili <malattia@debian.org>, | ||
135 | for the Debian project (but may be used by others). | ||