uboot-mkimage: really fix build with musl.
This commit is contained in:
parent
71c02b0362
commit
b62c342d7c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'uboot-mkimage'
|
# Template file for 'uboot-mkimage'
|
||||||
pkgname=uboot-mkimage
|
pkgname=uboot-mkimage
|
||||||
version=2014.01
|
version=2014.01
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="u-boot-${version}"
|
wrksrc="u-boot-${version}"
|
||||||
short_desc="The U-Boot mkimage utility"
|
short_desc="The U-Boot mkimage utility"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -11,7 +11,7 @@ distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2"
|
||||||
checksum=cdaf8c81583abfa2e73da46cfcf87b0cbd9741d9aa766f3b905376e3652d543d
|
checksum=cdaf8c81583abfa2e73da46cfcf87b0cbd9741d9aa766f3b905376e3652d543d
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -i 's,ulong,unsigned long,g' include/image.h tools/mkimage.h
|
sed -i 's,ulong,unsigned long,g' include/*.[ch] common/*.[ch] tools/*.[ch]
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue