HomeFreeBSD

Avoid redundant 'make objs' tree-walk when building the main prog.

Description

Avoid redundant 'make objs' tree-walk when building the main prog.

The main prog has a dependency on the submake targets to ensure they are
built. From bsd.crunchgen.mk though we already have our own dependency
on 'make objs' so there is no need for another one. Crunchgen(1) is
doing the right thing here so it is not modified.

This also prevents the CC fix tainting the submake environment with
META_MODE and causing rebuilds. The CC passed is is only intended for
the main prog itself.

Sponsored by: EMC / Isilon Storage Division

Details

Provenance
bdreweryAuthored on
Parents
rS300803: Pass CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS to the main crunch exec build.
Branches
Unknown
Tags
Unknown