forked from pool/u-boot
Accepting request 262121 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/262121 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=34
This commit is contained in:
parent
cdcdf66ac1
commit
9d08572005
@ -44,11 +44,11 @@ mx53loco*|mx6qsabrelite*|efika*) BINEND=imx ;;
|
|||||||
XLOADER=1 ;;
|
XLOADER=1 ;;
|
||||||
*arndale*) BINEND=bin
|
*arndale*) BINEND=bin
|
||||||
ARNDALE_SPL=1 ;;
|
ARNDALE_SPL=1 ;;
|
||||||
*Cubieboard*|Cubietruck*) BINEND=bin
|
*Cubieboard*|Cubietruck*) BINEND=img
|
||||||
SUNXI_SPL=1 ;;
|
SUNXI_SPL=1 ;;
|
||||||
*Mele_A1000*) BINEND=bin
|
*Mele_A1000*) BINEND=img
|
||||||
SUNXI_SPL=1 ;;
|
SUNXI_SPL=1 ;;
|
||||||
*Hyundai_A7HD*) BINEND=bin
|
*Hyundai_A7HD*) BINEND=img
|
||||||
SUNXI_SPL=1 ;;
|
SUNXI_SPL=1 ;;
|
||||||
*snow*) BINEND=img ;;
|
*snow*) BINEND=img ;;
|
||||||
mx6_cubox-i*) BINEND=img
|
mx6_cubox-i*) BINEND=img
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_iris_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" colibri_t20_iris_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,15 +103,14 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,15 +103,14 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,15 +103,14 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,15 +103,14 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
install -D -m 0644 u-boot-dtb-tegra.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
elif [ -f u-boot-dtb.img ]; then
|
||||||
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
|
||||||
else
|
else
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
||||||
fi
|
fi
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
install -D -m 0755 MLO %{buildroot}/boot/MLO
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" rpi_b_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -6,4 +6,3 @@ addFilter("name-repeated-in-summary")
|
|||||||
addFilter("incorrect-fsf-address")
|
addFilter("incorrect-fsf-address")
|
||||||
addFilter("file-contains-date-and-time")
|
addFilter("file-contains-date-and-time")
|
||||||
addFilter("strict-aliasing-punning")
|
addFilter("strict-aliasing-punning")
|
||||||
addFilter("no-rpm-opt-flags")
|
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" snow_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" vexpress_aemv8a_defconfig
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" vexpress_aemv8a_defconfig
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 21:15:50 UTC 2014 - oscar@naiandei.net
|
||||||
|
|
||||||
|
- Add u-boot-with-sunxi-spl.bin for sunxi boards
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 17 15:17:56 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Make use of RPM_OPT_FLAGS during make
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 15 14:55:06 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
- Fix sunxi boards (use u-boot.img instead of u-boot.bin)
|
||||||
|
- Remove duplicated default install line
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
Tue Nov 11 13:32:36 UTC 2014 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ mkimage- a tool that creates kernel bootable images for u-boot.
|
|||||||
# needed for include/config/auto.conf
|
# needed for include/config/auto.conf
|
||||||
make defconfig
|
make defconfig
|
||||||
make silentoldconfig
|
make silentoldconfig
|
||||||
make USE_PRIVATE_LIBGG=yes tools-only
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes tools-only
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
|
install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
|
||||||
|
@ -95,9 +95,7 @@ rm -rf board/Marvell
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" BOARDCONFIG
|
||||||
# temporary disable of --build-id
|
make %{?jobs:-j %jobs} CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||||
#make CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
|
||||||
make %{?jobs:-j %jobs} USE_PRIVATE_LIBGG=yes
|
|
||||||
%if "%{name}" == "u-boot-snow"
|
%if "%{name}" == "u-boot-snow"
|
||||||
# Chromebook ARM (snow) need a uImage format
|
# Chromebook ARM (snow) need a uImage format
|
||||||
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
||||||
@ -105,7 +103,6 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0644 u-boot.BINEND %{buildroot}/boot/u-boot.BINEND
|
|
||||||
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
# Some times u-boot needs a dtb to configure itself appended to the binary.
|
||||||
# In that case prefer the one with a working dtb already appended.
|
# In that case prefer the one with a working dtb already appended.
|
||||||
if [ -f u-boot-dtb-tegra.bin ]; then
|
if [ -f u-boot-dtb-tegra.bin ]; then
|
||||||
@ -127,6 +124,7 @@ install -D -m 0755 %{SOURCE2} %{buildroot}/boot/arndale-bl1.img
|
|||||||
%endif
|
%endif
|
||||||
%if %sunxi_spl == 1
|
%if %sunxi_spl == 1
|
||||||
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
install -D -m 0755 spl/sunxi-spl.bin %{buildroot}/boot/sunxi-spl.bin
|
||||||
|
install -D -m 0755 u-boot-sunxi-with-spl.bin %{buildroot}/boot/u-boot-sunxi-with-spl.bin
|
||||||
%endif
|
%endif
|
||||||
%if %cuboxi_spl == 1
|
%if %cuboxi_spl == 1
|
||||||
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||||
|
Loading…
Reference in New Issue
Block a user