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:
parent
8d2001f625
commit
db597dd687
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.bin %{buildroot}%{uboot_dir}/u-boot.bin
|
||||||
elif [ -f u-boot-dtb.bin ]; then
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
@ -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
|
Tue Dec 15 09:27:03 UTC 2015 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ export TEXT_START=$(awk '$NF == "_start" { printf "0x"$1 }' System.map)
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%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"
|
%if "%{name}" == "u-boot-jetson-tk1"
|
||||||
# tegra-uboot-flasher needs several intermediate files, under their original name.
|
# 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
|
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.
|
# 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.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
|
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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
%if %x_loader == 1
|
%if %x_loader == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user