Changeset 29951 for trunk/rules.mk


Ignore:
Timestamp:
2012-01-30T00:34:25+01:00 (5 years ago)
Author:
jow
Message:

[buildroot] rules.mk: filter "." and "./" entries from $PATH, prevents toolchain build issues and likely other problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r29766 r29951  
    107107BUILD_LOG_DIR:=$(TOPDIR)/logs 
    108108 
    109 TARGET_PATH:=$(STAGING_DIR_HOST)/bin:$(PATH) 
     109TARGET_PATH:=$(STAGING_DIR_HOST)/bin:$(subst $(space),:,$(filter-out .,$(filter-out ./,$(subst :,$(space),$(PATH))))) 
    110110TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)$(if $(CONFIG_DEBUG), -g3) 
    111111TARGET_CPPFLAGS:=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include 
Note: See TracChangeset for help on using the changeset viewer.