Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
378dbb2c
Commit
378dbb2c
authored
May 23, 2011
by
Arnaud Lacombe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kconfig: migrate parser to implicit rules
Signed-off-by:
Arnaud Lacombe
<
lacombar@gmail.com
>
parent
674eed8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
27 deletions
+5
-27
scripts/kconfig/.gitignore
scripts/kconfig/.gitignore
+1
-1
scripts/kconfig/Makefile
scripts/kconfig/Makefile
+3
-25
scripts/kconfig/zconf.y
scripts/kconfig/zconf.y
+1
-1
No files found.
scripts/kconfig/.gitignore
View file @
378dbb2c
...
...
@@ -2,7 +2,7 @@
# Generated files
#
config*
lex.*
.c
*.lex
.c
*.tab.c
*.tab.h
zconf.hash.c
...
...
scripts/kconfig/Makefile
View file @
378dbb2c
...
...
@@ -223,6 +223,9 @@ HOST_EXTRACFLAGS += $(shell $(CONFIG_SHELL) $(srctree)/$(src)/check.sh $(HOSTCC)
HOSTCFLAGS_lex.zconf.o
:=
-I
$(src)
HOSTCFLAGS_zconf.tab.o
:=
-I
$(src)
LEX_PREFIX_zconf
:=
zconf
YACC_PREFIX_zconf
:=
zconf
HOSTLOADLIBES_qconf
=
$(KC_QT_LIBS)
-ldl
HOSTCXXFLAGS_qconf.o
=
$(KC_QT_CFLAGS)
-D
LKC_DIRECT_LINK
...
...
@@ -335,28 +338,3 @@ $(obj)/gconf.glade.h: $(obj)/gconf.glade
$(Q)
intltool-extract
--type
=
gettext/glade
--srcdir
=
$(srctree)
\
$(obj)
/gconf.glade
###
# The following requires flex/bison/gperf
# By default we use the _shipped versions, uncomment the following line if
# you are modifying the flex/bison src.
# LKC_GENPARSER := 1
ifdef
LKC_GENPARSER
$(obj)/zconf.tab.c
:
$(src)/zconf.y
$(obj)/lex.zconf.c
:
$(src)/zconf.l
$(obj)/zconf.hash.c
:
$(src)/zconf.gperf
%.tab.c
:
%.y
bison
-l
-b
$*
-p
$(
notdir
$*
)
$<
cp
$@
$@
_shipped
lex.%.c
:
%.l
flex
-L
-P
$(
notdir
$*
)
-o
$@
$<
cp
$@
$@
_shipped
%.hash.c
:
%.gperf
gperf
-C
<
$<
>
$@
cp
$@
$@
_shipped
endif
scripts/kconfig/zconf.y
View file @
378dbb2c
...
...
@@ -733,7 +733,7 @@ void zconfdump(FILE *out)
}
}
#include "
lex.zconf
.c"
#include "
zconf.lex
.c"
#include "util.c"
#include "confdata.c"
#include "expr.c"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment