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 a5934684863098ccc70f0a0ac8d8f739443b29d5..ac2ea78fea6d64192c22fcef9347bbb8493dbb73 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)