modify the kconfig system for openwrt

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3683 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2006-04-20 21:00:14 +00:00
parent 8cc7b94ab0
commit 320b38dc4f
9 changed files with 49 additions and 37 deletions

View File

@@ -1,5 +1,5 @@
# ===========================================================================
# Kernel configuration targets
# OpenWrt configuration targets
# These targets are used from top-level makefile
# ===========================================================================
@@ -40,10 +40,10 @@ lex.zconf.c: zconf.l
zconf.hash.c: zconf.gperf
%.tab.c: %.y
bison -l -b $* -p $(notdir $*) $< && cp $@ $@_shipped || cp $@_shipped $@
cp $@_shipped $@ || bison -l -b $* -p $(notdir $*) $<
lex.%.c: %.l
flex -L -P$(notdir $*) -o$@ $< && cp $@ $@_shipped || cp $@_shipped $@
cp $@_shipped $@ || flex -L -P$(notdir $*) -o$@ $<
%.hash.c: %.gperf
gperf < $< > $@ && cp $@ $@_shipped || cp $@_shipped $@
cp $@_shipped $@ || gperf < $< > $@