add staging_dir_*/usr/sbin to the TARGET_PATH (for grub)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 27 Dec 2006 17:37:28 +0000 (17:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 27 Dec 2006 17:37:28 +0000 (17:37 +0000)
SVN-Revision: 5904

rules.mk

index a593468..ac2ea78 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -42,7 +42,7 @@ endif
 
 IMAGE:=$(BUILD_DIR)/root_fs_$(ARCH)
 
-TARGET_PATH:=$(STAGING_DIR)/usr/bin:$(STAGING_DIR)/bin:$(PATH)
+TARGET_PATH:=$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(STAGING_DIR)/bin:$(PATH)
 TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)
 
 export PATH:=$(TARGET_PATH)