gnu: u-boot: Reomve sdl2 dependency on non-GUI builds.

* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Remove sdl2.
(u-boot-tools)[native-inputs]: Add sdl2.
This commit is contained in:
Danny Milosavljevic 2020-09-19 21:51:44 +02:00
parent 1bc5a77f0a
commit 6b1253718d
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -465,7 +465,6 @@ (define u-boot
("python" ,python)
("python-coverage" ,python-coverage)
("python-pytest" ,python-pytest)
("sdl2" ,sdl2)
("swig" ,swig)))
(build-system gnu-build-system)
(home-page "https://www.denx.de/wiki/U-Boot/")
@ -478,6 +477,9 @@ (define-public u-boot-tools
(package
(inherit u-boot)
(name "u-boot-tools")
(native-inputs
`(("sdl2" ,sdl2)
,@(package-native-inputs u-boot)))
(arguments
`(#:make-flags '("HOSTCC=gcc")
#:test-target "tests"