diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /scripts/Makefile | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index a214e709e..eaf0db043 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -2,29 +2,21 @@ HOSTCFLAGS:=$(HOSTCFLAGS) -g -Wall HEADER=header.tk TAIL=tail.tk -# We allow the Makefile in drivers/sound to decide when to rebuild its -# files, rather than trying to second-guess it like we did before. -# -soundscript: - make -C ${TOPDIR}/drivers/sound mkscript - @echo - -# There is probably a better way to decide when to rebuild kconfig.tk; this -# one won't catch every last change to the various Config.in files. However, -# the reliance on ${TOPDIR}/Makefile makes sure we at least rebuild when the -# kernel version number changes. -# -kconfig.tk: soundscript ${TOPDIR}/Makefile ${TOPDIR}/arch/${ARCH}/config.in \ +# Previous versions always remade kconfig.tk because they always depended +# on soundscript. This runs fairly fast, and I can't find all the +# Config.in files to depend on anyways. So I'll force it to remake. + +kconfig.tk: dummy + +kconfig.tk: ${TOPDIR}/Makefile ${TOPDIR}/arch/${ARCH}/config.in \ tkparse ${HEADER} ${TAIL} - ./tkparse < ../arch/${ARCH}/config.in > kconfig.tmp @if [ -f /usr/local/bin/wish ]; then \ echo '#!'"/usr/local/bin/wish -f" > kconfig.tk; \ else \ echo '#!'"/usr/bin/wish -f" > kconfig.tk; \ fi cat ${HEADER} >> ./kconfig.tk - cat kconfig.tmp >> kconfig.tk - rm -f kconfig.tmp + ./tkparse < ../arch/${ARCH}/config.in >> kconfig.tk echo "set defaults \"arch/${ARCH}/defconfig\"" >> kconfig.tk cat ${TAIL} >> kconfig.tk chmod 755 kconfig.tk @@ -33,15 +25,15 @@ tkparse: tkparse.o tkcond.o tkgen.o ${HOSTCC} -o tkparse tkparse.o tkcond.o tkgen.o tkparse.o: tkparse.c tkparse.h - $(HOSTCC) $(HOSTCFLAGS) -c -o tkparse.o tkparse.c tkcond.o: tkcond.c tkparse.h - $(HOSTCC) $(HOSTCFLAGS) -c -o tkcond.o tkcond.c tkgen.o: tkgen.c tkparse.h - $(HOSTCC) $(HOSTCFLAGS) -c -o tkgen.o tkgen.c + +tkparse.o tkcond.o tkgen.o: + $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $(@:.o=.c) clean: - rm -f *~ kconfig.tk *.o tkparse + rm -f *~ kconfig.tk *.o tkparse mkdep split-include include $(TOPDIR)/Rules.make |