remove rsync from the code and patch make install
This commit is contained in:
parent
3528d0d173
commit
adba4ceb0f
2 changed files with 8 additions and 4 deletions
|
@ -9,6 +9,6 @@ make install DESTDIR="$1"
|
|||
rsync -a ./busybox/ "$1"/bin/
|
||||
cd "_install"
|
||||
install linuxrc "$1"/linuxrc
|
||||
rsync -a -v ./bin/ "$1"/bin/
|
||||
rsync -a -v ./sbin/ "$1"/sbin/
|
||||
rsync -a -v ./usr "$1"/usr/
|
||||
cp -npr ./bin/ "$1"/bin/
|
||||
cp -npr ./sbin/ "$1"/sbin/
|
||||
cp -npr ./usr "$1"/usr/
|
||||
|
|
|
@ -5,4 +5,8 @@ cd make-4.3
|
|||
export CFLAGS="$CFLAGS -static"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR="$1" install
|
||||
|
||||
gzip lib/make.1 lib/make.1.gz
|
||||
cp make $1/usr/bin/make
|
||||
cp doc/make.1.gz $1/usr/share/man/man1/
|
||||
cp -npr /lib/* $1/lib
|
||||
|
|
Loading…
Reference in a new issue