X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/11fff40857eb82859bfb79754bdd5bb59a45a44f..9c0ae271fee1a6f7c9af9690bf228ebc90ad327e:/rules.mk diff --git a/rules.mk b/rules.mk index 9c986f889..2298e437d 100644 --- a/rules.mk +++ b/rules.mk @@ -65,7 +65,6 @@ STAMP_DIR:=$(BUILD_DIR)/stamp STAMP_DIR_HOST=$(BUILD_DIR_HOST)/stamp TARGET_DIR:=$(BUILD_DIR)/root-$(BOARD) DEBUG_DIR:=$(BUILD_DIR)/debug-$(BOARD) -IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/ipkg TARGET_PATH:=$(TOOLCHAIN_DIR)/usr/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH) TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3) @@ -82,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) @@ -96,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