Eric Andersen 7daa076d3e egor duda writes:
Hi!

I've created a patch to busybox' build system to allow building it in
separate tree in a manner similar to kbuild from kernel version 2.6.

That is, one runs command like
'make O=/build/some/where/for/specific/target/and/options'
and everything is built in this exact directory, provided that it exists.

I understand that applyingc such invasive changes during 'release
candidates' stage of development is at best unwise. So, i'm currently
asking for comments about this patch, starting from whether such thing
is needed at all to whether it coded properly.

'make check' should work now, and one make creates Makefile in build
directory, so one can run 'make' in build directory after that.

One possible caveat is that if we build in some directory other than
source one, the source directory should be 'distclean'ed first.

egor
2004-10-08 07:46:08 +00:00
..
2004-04-14 17:51:38 +00:00
2004-05-19 09:18:04 +00:00
2003-10-22 09:58:56 +00:00
2004-01-30 23:45:53 +00:00
2003-06-10 17:22:49 +00:00
2004-01-30 23:45:53 +00:00
2004-05-19 09:18:04 +00:00
2004-10-08 07:46:08 +00:00
2004-10-08 07:46:08 +00:00
2004-01-30 23:45:53 +00:00
2004-04-14 17:51:38 +00:00
2004-04-14 17:51:38 +00:00
2004-04-14 17:51:38 +00:00
2002-10-31 19:21:27 +00:00
2004-04-14 17:51:38 +00:00
2004-01-30 23:45:53 +00:00
2004-04-14 17:51:38 +00:00
2004-01-30 23:45:53 +00:00
2002-12-11 21:12:45 +00:00

udhcp server/client package readme
-------------------------

The udhcp server/client package is primarily geared towards embedded
systems. It does however, strive to be fully functional, and RFC
compliant.


compile time options
-------------------

The Makefile contains three of the compile time options:

	UDHCP_DEBUG: If UDHCP_DEBUG is defined, udhcpd will output extra
	debugging output, compile with -g, and not fork to the background when
	run.
	UDHCP_SYSLOG: If UDHCP_SYSLOG is defined, udhcpd will log all its
	messages syslog, otherwise, it will attempt to log them to stdout.

	COMBINED_BINARY: If COMBINED_BINARY is define, one binary, udhcpd,
	is created. If called as udhcpd, the dhcp server will be started.
	If called as udhcpc, the dhcp client will be started.

dhcpd.h contains the other three compile time options:

	LEASE_TIME: The default lease time if not specified in the config
	file.

	LEASES_FILE: The default file for storing leases.

	DHCPD_CONFIG_FILE: The defualt config file to use.

options.c contains a set of dhcp options for the client:

	name[10]: The name of the option as it will appear in scripts

	flags: The type of option, as well as if it will be requested
	by the client (OPTION_REQ)

	code: The DHCP code for this option


busybox drop-in
--------------
udhcp is now a drop-in component for busybox (http://busybox.net).
To update busybox to the latest revision, simply do a:

cp *.[ch] README AUTHORS COPYING ChangeLog TODO \
	<busybox_source>/networking/udhcp

The only two files udhcp does not provide are config.in and
Makefile.in, so these may need to be updated from time to time.