nrelease - Fix ordering dependency during parallel buildkernel
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 23 Mar 2010 05:07:45 +0000 (22:07 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 23 Mar 2010 05:07:45 +0000 (22:07 -0700)
* Make sure aicasm_gram.h is generated before the aicasm_scan.l
  dependency.  aicasm_scan.c is generated from aicasm_scan.l and
  depends on aicasm_gram.h.

  Not quite sure if this ORDER directive is correct.

sys/dev/disk/aic7xxx/aicasm/Makefile

index 091d2a7..2ee5134 100644 (file)
@@ -10,6 +10,7 @@ YSRCS=        aicasm_gram.y aicasm_macro_gram.y
 LSRCS= aicasm_scan.l aicasm_macro_scan.l
 
 GENHDRS=       aicasm_gram.h aicasm_macro_gram.h
+.ORDER: aicasm_gram.h aicasm_scan.l
 
 SRCS=  ${GENHDRS} ${CSRCS} ${YSRCS} ${LSRCS}
 CLEANFILES+= ${GENHDRS} ${YSRCS:R:C/(.*)/\1.output/g}