1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

Remove unneccessarry prepare() hooks

- Packages that don't download anything don't need a prepare() hook
 - Packages that inherit the source from other packages should leave
   it untouched. If they get downloaded first, they should use the
   hook from the original package.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-01-17 08:26:40 +01:00
parent 297b0a3254
commit 5c8effa301
9 changed files with 0 additions and 36 deletions

View file

@ -1,10 +1,6 @@
# inherit package details from kernel package # inherit package details from kernel package
source "$SCRIPTDIR/pkg/firmware-rpi3/build" source "$SCRIPTDIR/pkg/firmware-rpi3/build"
prepare() {
return
}
build() { build() {
return return
} }

View file

@ -62,10 +62,6 @@ dir_filelist() {
fi fi
} }
prepare() {
return
}
build() { build() {
local INPUT="$1" local INPUT="$1"
local OUTPUT="$2" local OUTPUT="$2"

View file

@ -1,10 +1,6 @@
# inherit package details from kernel package # inherit package details from kernel package
source "$SCRIPTDIR/pkg/$LINUXPKG/build" source "$SCRIPTDIR/pkg/$LINUXPKG/build"
prepare() {
return
}
build() { build() {
local INPUT="$1" local INPUT="$1"
local OUTPUT="$2" local OUTPUT="$2"

View file

@ -1,7 +1,3 @@
prepare() {
return
}
build() { build() {
local SOURCE="$1" local SOURCE="$1"
local BUILD="$2" local BUILD="$2"

View file

@ -1,7 +1,3 @@
prepare() {
return
}
build() { build() {
local SOURCE="$1" local SOURCE="$1"
local BUILD="$2" local BUILD="$2"

View file

@ -1,10 +1,6 @@
# inherit package details from first stage GCC # inherit package details from first stage GCC
source "$SCRIPTDIR/tcpkg/gcc1/build" source "$SCRIPTDIR/tcpkg/gcc1/build"
prepare() {
return
}
build() { build() {
local INPUT="$1" local INPUT="$1"
local OUTPUT="$2" local OUTPUT="$2"

View file

@ -1,7 +1,3 @@
prepare() {
return
}
build() { build() {
return return
} }

View file

@ -1,10 +1,6 @@
# inherit package details from kernel package # inherit package details from kernel package
source "$SCRIPTDIR/pkg/$LINUXPKG/build" source "$SCRIPTDIR/pkg/$LINUXPKG/build"
prepare() {
return
}
build() { build() {
local INPUT="$1" local INPUT="$1"
local OUTPUT="$2" local OUTPUT="$2"

View file

@ -1,7 +1,3 @@
prepare() {
return
}
build() { build() {
return return
} }