Skip to content

Commit

Permalink
Merge pull request torvalds#444 from jjpprrrr/fix-freebsd-build
Browse files Browse the repository at this point in the history
Fix freebsd build
  • Loading branch information
thehajime authored Jun 26, 2018
2 parents 5e56fc9 + 84f3969 commit ea9a4f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Documentation/lkl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ APIs
Building LKL on FreeBSD
-----------------------

$ pkg install binutils gcc49 gnubc

#If you don't have a gcc binary:
$ ln -sf /usr/local/bin/gcc49 /usr/local/bin/gcc
$ pkg install binutils gcc gnubc gmake gsed coreutils bison flex python argp-standalone

#Prefer ports binutils and GNU bc(1):
$ export PATH=/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib64/ccache
Expand Down
1 change: 1 addition & 0 deletions tools/lkl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ all: $(TARGETS)
bin/stat:
ifeq ($(LKL_HOST_CONFIG_BSD),y)
$(Q)ln -sf `which gnustat` bin/stat
$(Q)ln -sf `which gsed` bin/sed
else
$(Q)touch bin/stat
endif
Expand Down

0 comments on commit ea9a4f4

Please sign in to comment.