summaryrefslogtreecommitdiff
path: root/package/u-boot/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-09-29 15:58:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-29 15:58:30 +0200
commit7a1ed5a1a42f98f3015112af653f3a2dbfb3f819 (patch)
tree70f5aea34ee38950f8d6d7313f7ba9093a2963b2 /package/u-boot/Makefile
parent56d10b3b3b38dc5f8062c79481b800cab5aa3dcd (diff)
u-boot: update to 2023.07.02
Diffstat (limited to 'package/u-boot/Makefile')
-rw-r--r--package/u-boot/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index 2498c9310..18aa3242d 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= u-boot
-PKG_VERSION:= 2023.01
+PKG_VERSION:= 2023.07.02
PKG_RELEASE:= 1
-PKG_HASH:= 69423bad380f89a0916636e89e6dcbd2e4512d584308d922d1039d1e4331950f
+PKG_HASH:= 6b6a48581c14abb0f95bd87c1af4d740922406d7b801002a9f94727fdde021d5
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
HOST_BUILDDEP:= libressl-host dtc-host
@@ -94,6 +94,10 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
+ifeq ($(ADK_TARGET_BINFMT_FDPIC),y)
+EXTRA_CFLAGS:= -mno-fdpic
+endif
+
host-build:
(cd $(WRKBUILD) && env $(HOST_MAKE_ENV) $(MAKE) -f $(MAKE_FILE) \
$(HOST_MAKE_FLAGS) sandbox_defconfig )
@@ -110,6 +114,7 @@ do-configure:
do-build:
(cd $(WRKBUILD) && env \
KBUILD_VERBOSE=1 \
+ KCFLAGS='$(EXTRA_CFLAGS)' \
PATH='$(HOST_PATH)' \
CROSS_COMPILE='$(TARGET_CROSS)' \
$(MAKE))