SHA256
1
0
forked from pool/u-boot

Accepting request 350287 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/350287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=62
This commit is contained in:
Dominique Leuenberger 2015-12-24 11:16:47 +00:00 committed by Git OBS Bridge
parent 8d2001f625
commit db597dd687
70 changed files with 525 additions and 105 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.imx %{buildroot}/boot/u-boot.imx
install -D -m 0644 u-boot-dtb-tegra.imx %{buildroot}%{uboot_dir}/u-boot.imx
elif [ -f u-boot-dtb.imx ]; then
install -D -m 0644 u-boot-dtb.imx %{buildroot}/boot/u-boot.imx
install -D -m 0644 u-boot-dtb.imx %{buildroot}%{uboot_dir}/u-boot.imx
else
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
install -D -m 0644 u-boot.imx %{buildroot}%{uboot_dir}/u-boot.imx
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.imx %{buildroot}/boot/u-boot.imx
install -D -m 0644 u-boot-dtb-tegra.imx %{buildroot}%{uboot_dir}/u-boot.imx
elif [ -f u-boot-dtb.imx ]; then
install -D -m 0644 u-boot-dtb.imx %{buildroot}/boot/u-boot.imx
install -D -m 0644 u-boot-dtb.imx %{buildroot}%{uboot_dir}/u-boot.imx
else
install -D -m 0644 u-boot.imx %{buildroot}/boot/u-boot.imx
install -D -m 0644 u-boot.imx %{buildroot}%{uboot_dir}/u-boot.imx
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
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.bin %{buildroot}%{uboot_dir}/u-boot.bin
elif [ -f u-boot-dtb.bin ]; then
install -D -m 0644 u-boot-dtb.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot-dtb.bin %{buildroot}%{uboot_dir}/u-boot.bin
else
install -D -m 0644 u-boot.bin %{buildroot}/boot/u-boot.bin
install -D -m 0644 u-boot.bin %{buildroot}%{uboot_dir}/u-boot.bin
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb-tegra.img %{buildroot}%{uboot_dir}/u-boot.img
elif [ -f u-boot-dtb.img ]; then
install -D -m 0644 u-boot-dtb.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot-dtb.img %{buildroot}%{uboot_dir}/u-boot.img
else
install -D -m 0644 u-boot.img %{buildroot}/boot/u-boot.img
install -D -m 0644 u-boot.img %{buildroot}%{uboot_dir}/u-boot.img
fi
%endif
%if %x_loader == 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Dec 20 20:56:54 UTC 2015 - afaerber@suse.de
- Suppress stripping debug info - it affects u-boot-jetson-tk1
- Install rpi and rpi2 binaries to /boot/vc
-------------------------------------------------------------------
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org

View File

@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
%endif
%install
export NO_BRP_STRIP_DEBUG=true
export NO_DEBUGINFO_STRIP_DEBUG=true
%define uboot_dir /boot
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2"
%define uboot_dir /boot/vc
%endif
%if "%{name}" == "u-boot-jetson-tk1"
# tegra-uboot-flasher needs several intermediate files, under their original name.
for f in u-boot u-boot.dtb u-boot-dtb-tegra.bin u-boot-nodtb-tegra.bin; do
@ -91,11 +97,11 @@ done
# 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.
if [ -f u-boot-dtb-tegra.bin ]; then
install -D -m 0644 u-boot-dtb-tegra.BINEND %{buildroot}/boot/u-boot.BINEND
install -D -m 0644 u-boot-dtb-tegra.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
elif [ -f u-boot-dtb.BINEND ]; then
install -D -m 0644 u-boot-dtb.BINEND %{buildroot}/boot/u-boot.BINEND
install -D -m 0644 u-boot-dtb.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
else
install -D -m 0644 u-boot.BINEND %{buildroot}/boot/u-boot.BINEND
install -D -m 0644 u-boot.BINEND %{buildroot}%{uboot_dir}/u-boot.BINEND
fi
%endif
%if %x_loader == 1