Skip to content

Commit

Permalink
Makefile: create softlink to debugfs
Browse files Browse the repository at this point in the history
/dbg directory and mounting it is old style, we already have it in
/sys/kernel/debug. So, just softlink /d to /sys/kernel/debug.

Signed-off-by: Nishanth Menon <[email protected]>
  • Loading branch information
nmenon committed Jun 17, 2013
1 parent d986b85 commit 9812c32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,11 @@ fs: git .config $(BUSYBOX)/busybox busymkdir
$(Q)cp -rf $(PWD)/$(ETC_SCRIPTS)/* $(target_fs_dir)/etc/

busymkdir: .config
for d in lib etc dev dbg proc sys var/log var/run var/lib/misc; do \
for d in lib etc dev proc sys var/log var/run var/lib/misc; do \
install -d $(target_fs_dir)/$$d;\
done
$(Q)rm -f $(target_fs_dir)/d
$(Q)ln -s /sys/kernel/debug $(target_fs_dir)/d

# Ensure that everything is built before we build ramdisk - e.g. tests/utils etc.
ramdisk: all
Expand Down
1 change: 0 additions & 1 deletion configs/etc/fstab
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
none /dev/pts devpts mode=620 0 0
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
dbg /sys/kernel/debug debugfs defaults 0 0

0 comments on commit 9812c32

Please sign in to comment.