make-rules/shared-macros.mk
changeset 72 4c33a310f793
parent 70 c610cf9d3d5d
child 74 7e35801ce8b8
--- a/make-rules/shared-macros.mk	Thu Feb 03 14:25:05 2011 -0800
+++ b/make-rules/shared-macros.mk	Fri Feb 04 01:12:33 2011 -0800
@@ -56,8 +56,9 @@
 
 PKG_REPO =	file:$(WS_REPO)
 
-SOURCE_DIR =	$(shell pwd)/$(COMPONENT_SRC)
-BUILD_DIR =	$(shell pwd)/build
+COMPONENT_DIR =	$(shell pwd)
+SOURCE_DIR =	$(COMPONENT_DIR)/$(COMPONENT_SRC)
+BUILD_DIR =	$(COMPONENT_DIR)/build
 PROTO_DIR =	$(BUILD_DIR)/prototype/$(MACH)
 
 USRDIR =	/usr