X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/234eabf9cd3284c5d0e70341d499cc65d9bc4f70..eedfb2737930d49b326246c3ab42be6affc060f8:/rules.mk?ds=sidebyside diff --git a/rules.mk b/rules.mk index 1986097ba..2f528162f 100644 --- a/rules.mk +++ b/rules.mk @@ -56,7 +56,7 @@ ifeq ($(CONFIG_NATIVE_TOOLCHAIN),) TARGET_CROSS:=$(if $(TARGET_CROSS),$(TARGET_CROSS),$(OPTIMIZE_FOR_CPU)-linux-uclibc-) endif -TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(STAGING_DIR_HOST)/bin:$(PATH) +TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(STAGING_DIR_HOST)/bin:$(STAGING_DIR)/host/bin:$(PATH) TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) -fhonour-copts TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include TARGET_LDFLAGS:=-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib