dhcpcd: needs MMU
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Nov 2013 13:47:01 +0000 (14:47 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Nov 2013 21:00:19 +0000 (22:00 +0100)
commit55227475957af0a6a9d1377bc9e2e6103febedba
treea6b8d0f6e525d04de777fe497edfa0627da0b4ec
parent337a59d9e47772c89ecd1e4523e300e5e3c642ce
dhcpcd: needs MMU

dhcpcd fails to build on non-MMU platforms, even with the
--disable-fork option:

  bind.o: In function `_daemonise':
  bind.c:(.text+0x62): undefined reference to `_fork'
  collect2: ld returned 1 exit status

Therefore, we make dhcpcd depend on MMU support, and remove the
non-MMU condition in the .mk file. More recent versions of dhcpcd do
support non-MMU properly, but this commit intends to be only a fix.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
package/dhcpcd/Config.in
package/dhcpcd/dhcpcd.mk