From: Ben Gras Date: Wed, 29 Jun 2011 16:24:16 +0000 (+0200) Subject: new gcc mkheaders location X-Git-Tag: v3.2.0~506 X-Git-Url: http://zhaoyanbai.com/repos/rndc.conf.html?a=commitdiff_plain;h=82932c0d6b05de400ab5ad36987ad67baa9c1683;p=minix.git new gcc mkheaders location . Try to be flexible about it this time --- diff --git a/Makefile b/Makefile index f33da310a..3878f901b 100644 --- a/Makefile +++ b/Makefile @@ -45,9 +45,9 @@ includes: libraries: includes $(MAKE) -C lib build_ack -MKHEADERS443_PKGSRC=/usr/pkg/gcc44/libexec/gcc/i686-pc-minix/4.4.3/install-tools/mkheaders +MKHEADERSS=/usr/pkg/gcc*/libexec/gcc/*/*/install-tools/mkheaders gnu-includes: includes - SHELL=/bin/sh; if [ -f $(MKHEADERS443_PKGSRC) ] ; then sh -e $(MKHEADERS443_PKGSRC) ; fi + SHELL=/bin/sh; for d in $(MKHEADERSS); do if [ -f $$d ] ; then sh -e $$d ; fi; done elf-libraries: includes $(MAKE) -C lib build_elf