bananapi-uboot: Move bananapi-base/files directory to bananapi-uboot.
bananapi-uboot: Add conf_files description. bananapi-base: Move installation and compilation of boot files to bananapi-uboot.
This commit is contained in:
parent
e44301c819
commit
03bff3867e
|
@ -21,10 +21,4 @@ do_install() {
|
||||||
vmkdir usr/lib/udev/rules.d
|
vmkdir usr/lib/udev/rules.d
|
||||||
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-bpi-video.rules
|
echo 'KERNEL=="disp|cedar_dev|mali|ump", MODE="0660", GROUP="video"' > ${DESTDIR}/usr/lib/udev/rules.d/50-bpi-video.rules
|
||||||
|
|
||||||
# Certain files in `files` directory *NEED* to be installed.
|
|
||||||
# uEnv.txt: The boot configuration file, in pure text for readability.
|
|
||||||
# script.fex: Pure text board configuration, compiled to script.bin.
|
|
||||||
vmkdir boot
|
|
||||||
cp ${FILESDIR}/uEnv.txt ${DESTDIR}/boot/
|
|
||||||
fexc ${FILESDIR}/script.fex ${DESTDIR}/boot/script.bin
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,8 @@ distfiles="https://github.com/Bananian/u-boot-bananapi/archive/bananian-v${versi
|
||||||
checksum="935ac90624cc00106a1547b8da2b3e59ab09db9cf658df7126a93738fac74fe5"
|
checksum="935ac90624cc00106a1547b8da2b3e59ab09db9cf658df7126a93738fac74fe5"
|
||||||
wrksrc="u-boot-bananapi-bananian-v${version}"
|
wrksrc="u-boot-bananapi-bananian-v${version}"
|
||||||
|
|
||||||
|
conf_files="/boot/uEnv.txt"
|
||||||
|
|
||||||
only_for_archs="armv7l"
|
only_for_archs="armv7l"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -26,8 +28,16 @@ do_build() {
|
||||||
else
|
else
|
||||||
make ARCH=arm
|
make ARCH=arm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
# Certain files in `files` directory *NEED* to be installed.
|
||||||
|
# uEnv.txt: The boot configuration file, in pure text for readability.
|
||||||
|
# script.fex: Pure text board configuration, compiled to script.bin.
|
||||||
|
vmkdir boot
|
||||||
|
cp ${FILESDIR}/uEnv.txt ${DESTDIR}/boot/
|
||||||
|
fexc ${FILESDIR}/script.fex ${DESTDIR}/boot/script.bin
|
||||||
|
|
||||||
vinstall u-boot.bin 600 boot
|
vinstall u-boot.bin 600 boot
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue