|
|
@@ -10,8 +10,6 @@ This patch is to fix compilation for uboot-tool V2025.01 in openwrt.
|
|
|
|
|
|
* remove mkeficapsule from build to avoid gnulib dependencies
|
|
|
|
|
|
-* disable bmp_logo from build to allow compilation
|
|
|
-
|
|
|
Signed-off-by: Scott Mercer <[email protected]>
|
|
|
---
|
|
|
tools/Makefile | 38 ++++++++++++++++++++++++++------------
|
|
|
@@ -66,7 +64,7 @@ Signed-off-by: Scott Mercer <[email protected]>
|
|
|
|
|
|
mkfwumdata-objs := mkfwumdata.o generated/lib/crc32.o
|
|
|
HOSTLDLIBS_mkfwumdata += -luuid
|
|
|
-@@ -330,10 +345,9 @@ HOST_EXTRACFLAGS += -include $(srctree)/
|
|
|
+@@ -330,8 +345,7 @@ HOST_EXTRACFLAGS += -include $(srctree)/
|
|
|
-I$(srctree)/scripts/dtc/libfdt \
|
|
|
-I$(srctree)/tools \
|
|
|
-DUSE_HOSTCC \
|
|
|
@@ -74,8 +72,5 @@ Signed-off-by: Scott Mercer <[email protected]>
|
|
|
- -D_GNU_SOURCE
|
|
|
+ -D__KERNEL_STRICT_NAMES
|
|
|
|
|
|
--__build: $(LOGO-y)
|
|
|
-+__build: $(LOGO-n)
|
|
|
-
|
|
|
- $(LOGO_H): $(obj)/bmp_logo $(LOGO_BMP)
|
|
|
- $(obj)/bmp_logo --gen-info $(LOGO_BMP) > $@
|
|
|
+ ifeq ($(CROSS_BUILD_TOOLS),)
|
|
|
+ __build: $(LOGO-y)
|