Subject: Re: Makefile for bin/dd
To: Ian Zagorskih <>
From: Frederick Bruckman <>
List: tech-userlevel
Date: 07/14/2004 08:43:06
On Wed, 14 Jul 2004, Ian Zagorskih wrote:

> On Wednesday 14 July 2004 17:07, Hubert Feyrer wrote:
>> On Wed, 14 Jul 2004, Ian Zagorskih wrote:
>>> Just without looks like adding "SMALLPROG=" in /etc/mk.conf
>>> dosn't make any effect.
>> SMALLPROG is usually set when things are compiled for install media
>> (src/distrib/*) and it works there. I'm not sure it's intended to be set
>> in /etc/mk.conf.
> Maybe i'm doing it wrong but sometimes i need to build very tiny NetBSD
> distribution, say for embedded systems. And i was very glad to find SMALLPROG
> option which helps me to do it with mininal efforts and without tree/code
> modifications. If this option already exists and in most of cases doing its
> job right why not to follow it ? :)

It's apparently meant to be set in the environment. You could try

   export SMALLPROG=1

or even


before running "make".