1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 21:17:45 +03:00

Merge pull request #626 from samueldr-wip/fix/u-boot-tools

overlay: Drop ubootTools patch
This commit is contained in:
Samuel Dionne-Riel 2023-05-06 21:17:40 -04:00 committed by GitHub
commit ba4638836e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 35 deletions

View File

@ -109,9 +109,6 @@ in
buildInputs = buildInputs ++ [
self.openssl
];
patches = patches ++ [
./u-boot/0001-mobile-nixos-work-around-ubootTools-cross-compilatio.patch
];
});

View File

@ -1,30 +0,0 @@
From ab87ea4ce5d34b82a7fd539a57f99459ca2ea99e Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Thu, 11 Feb 2021 17:18:05 -0500
Subject: [PATCH] [mobile-nixos]: work around ubootTools cross-compilation
issue
The BMP tool gets compiled for the target system, as others tools do. In
turn, this tool cannot be ran on the system doing the build.
Forcing CONFIG_*_LOGO to values fails because it has been hardcoded to
=y here.
---
tools/Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 2d550432ba..135fbd3863 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -6,7 +6,6 @@
# Enable all the config-independent tools
ifneq ($(HOST_TOOLS_ALL),)
CONFIG_ARCH_KIRKWOOD = y
-CONFIG_LCD_LOGO = y
CONFIG_CMD_LOADS = y
CONFIG_CMD_NET = y
CONFIG_XWAY_SWAP_BYTES = y
--
2.29.2

View File

@ -1,6 +1,6 @@
let
sha256 = "sha256:1fhv0lfj7khfr0fvwbpay3vq3v7br86qq01yyl0qxls8nsq08y0c";
rev = "872fceeed60ae6b7766cc0a4cd5bf5901b9098ec";
sha256 = "sha256:1qm1ffipjsqrd2f3y1x8n8d9afc659plaxp131wh3ixvnmvqxiy6";
rev = "3e313808bd2e0a0669430787fb22e43b2f4bf8bf";
in
builtins.trace "(Using pinned Nixpkgs at ${rev})"
import (fetchTarball {