openwrt-routing/ahcpd
Florian Fainelli 725ad74b67 ahcpd: fix build with ARM VFP toolchains
Building ahcpd for a ARM VFP enabled target will produce the following build
failure:

arm-openwrt-linux-uclibcgnueabi-gcc -Os -g -Wall
-L/exp00/fainelli/openwrt/trunk/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib
-L/exp00/fainelli/openwrt/trunk/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib
-L/exp00/fainelli/openwrt/trunk/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib
-L/exp00/fainelli/openwrt/trunk/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib
-o ahcpd ahcpd.o monotonic.o transport.o prefix.o configure.o config.o lease.o
-lrt
/exp00/fainelli/openwrt/trunk/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.6.4/../../../../arm-openwrt-linux-uclibcgnueabi/bin/ld:
error: ahcpd uses VFP register arguments, ahcpd.o does not

fix this by making sure that TARGET_CFLAGS are correctly passed down to ahcpd's
Makefile and used as the compiler CFLAGS by using EXTRA_DEFINES.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
2014-03-06 12:06:27 -08:00
..
files ahcpd: migrate from openwrt/packages 2013-10-28 16:20:42 +00:00
Makefile ahcpd: fix build with ARM VFP toolchains 2014-03-06 12:06:27 -08:00