kbuild: fix unportability in gen_initramfs_list.sh
authorFelix Fietkau <nbd@openwrt.org>
Wed, 2 Apr 2008 12:50:05 +0000 (14:50 +0200)
committerSam Ravnborg <sam@uranus.ravnborg.org>
Mon, 28 Apr 2008 20:50:51 +0000 (22:50 +0200)
commitb5a5e4c73228e1c5f646ee2524f5e13ae5f08b4d
tree203d01fe0680a8ad223b437247e6865c6173599d
parent01dee1881d7cbcd5c456735085e52de94da8d4e1
kbuild: fix unportability in gen_initramfs_list.sh

On a Mac OS X machine the output of ls -l is different from a standard
Linux machine. Use readlink instead of parsing a hardcoded field number
from the ls output.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/gen_initramfs_list.sh