[ar71xx] ag71xx driver: fix return code of the napi poll routine, was broken since...
[openwrt.git] / rules.mk
index 8e31a27..2298e43 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -81,10 +81,10 @@ ifeq ($(CONFIG_NATIVE_TOOLCHAIN),)
 endif
 
 ifeq ($(CONFIG_SOFT_FLOAT),y)
-SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
-TARGET_CFLAGS+=-msoft-float
+  SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
+  TARGET_CFLAGS+= -msoft-float
 else
-SOFT_FLOAT_CONFIG_OPTION:=
+  SOFT_FLOAT_CONFIG_OPTION:=
 endif
 
 export PATH:=$(TARGET_PATH)
@@ -95,8 +95,6 @@ PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
 
 export PKG_CONFIG
 
-LINUX_HEADERS_DIR:=$(BUILD_DIR_TOOLCHAIN)/linux
-
 HOSTCC:=gcc
 HOST_CFLAGS:=-O2 -I$(STAGING_DIR_HOST)/include
 HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib
This page took 0.020113 seconds and 4 git commands to generate.