packages: use $(LN) macro, make symlinks relative

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45250
This commit is contained in:
Nicolas Thill
2015-04-03 00:07:43 +00:00
parent 6a5a7db085
commit fe46689f10
9 changed files with 17 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ endef
# Linux sources directory
define Build/Prepare
$(RM) -r $(PKG_BUILD_DIR)
ln -s $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
$(LN) $(LINUX_DIR)/tools/perf $(PKG_BUILD_DIR)
endef
# MAKE_FLAGS should be passed again upon cleaning because Perf's makefile