A patch from Larry to fix pristine source builds (again).
I just can't seem to _not_ break it. Sigh.
This commit is contained in:
parent
aac75e5a78
commit
3f99b567b8
2
Makefile
2
Makefile
@ -274,7 +274,7 @@ sh.c:
|
||||
@if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
|
||||
|
||||
applet_source_list: sh.c busybox.sh Config.h
|
||||
(echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh.c, $^) $(BB_SRC_DIR)) > $@
|
||||
(echo -n "APPLET_SOURCES := "; BB_SRC_DIR=$(BB_SRC_DIR) $(SHELL) $^) > $@
|
||||
|
||||
doc: olddoc
|
||||
|
||||
|
@ -9,7 +9,7 @@ RAW=` \
|
||||
| tr A-Z a-z | sort
|
||||
`
|
||||
test "${RAW}" != "" || exit
|
||||
cd ${2:-.}
|
||||
if [ -d $BB_SRC_DIR ]; then cd $BB_SRC_DIR; fi
|
||||
# By running $RAW through "ls", we avoid listing
|
||||
# source files that don't exist.
|
||||
ls $RAW 2>/dev/null | tr '\n' ' '
|
||||
|
@ -9,7 +9,7 @@ RAW=` \
|
||||
| tr A-Z a-z | sort
|
||||
`
|
||||
test "${RAW}" != "" || exit
|
||||
cd ${2:-.}
|
||||
if [ -d $BB_SRC_DIR ]; then cd $BB_SRC_DIR; fi
|
||||
# By running $RAW through "ls", we avoid listing
|
||||
# source files that don't exist.
|
||||
ls $RAW 2>/dev/null | tr '\n' ' '
|
||||
|
Loading…
Reference in New Issue
Block a user