linuxman94

symlink

Dec 2nd, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. SYMLINKS := $(addprefix $(TARGET_OUT)/bin/,su)
  2. $(SYMLINKS):
  3. @echo "Symlink: $@ -> /system/xbin/su"
  4. @mkdir -p $(dir $@)
  5. @rm -rf $@
  6. $(hide) ln -sf ../xbin/su $@
Advertisement
Add Comment
Please, Sign In to add comment