Changeset 1430 for trunk/src


Ignore:
Timestamp:
Mar 24, 2008, 3:53:11 AM (17 years ago)
Author:
bird
Message:

Use INTERMEDIATES instead of DEPS/ORDERDEPS since the latter no longer (don't recall when exactly) are dependant of the objects but only of the link. The new INTERMEDIATES stuff is a bit hackish and might change, but it fixes the parallel build issues here. Use the which function to look for byacc and yacc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ash/Makefile.kmk

    r1078 r1430  
    7676        setmode.c
    7777
    78 kmk_ash_DEPS = \
     78kmk_ash_INTERMEDIATES = \
    7979        $(PATH_TARGET)/arith.h \
    8080        $(PATH_TARGET)/builtins.h \
     
    129129#
    130130BOOTSTRAP_SHELL ?= $(SHELL)
    131 YACC ?= yacc
     131ifndef YACC
     132 YACC := $(firstword $(which byacc) $(which yacc) yacc)
     133endif
     134$(error YACC=$(YACC))
    132135
    133136$(PATH_TARGET)/arith.h $(PATH_TARGET)/arith.c: arith.y | $(call DIRDEP,$(PATH_TARGET))
Note: See TracChangeset for help on using the changeset viewer.