summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-09-22 14:03:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-09-22 14:03:07 +0200
commitba48db8275730fbc512c0872ae426970a09b5619 (patch)
treef64154d20f3faada75a3b9ef2baeeff012dac76a /package
parent56ede91e9f8f8211a6fc62cd5f56d95a76fec9a7 (diff)
add support for STM32F746G-DISCO device
Tested with toolbox / simpleinit as userland. FDPIC/FLAT support both successfully tested. No LCD or Ethernet support.
Diffstat (limited to 'package')
-rw-r--r--package/dtc/patches/patch-Makefile11
-rw-r--r--package/gettext/Makefile1
-rw-r--r--package/popt/Makefile5
-rw-r--r--package/popt/patches/patch-Makefile_am11
-rw-r--r--package/u-boot/Makefile11
5 files changed, 34 insertions, 5 deletions
diff --git a/package/dtc/patches/patch-Makefile b/package/dtc/patches/patch-Makefile
new file mode 100644
index 000000000..9a4553381
--- /dev/null
+++ b/package/dtc/patches/patch-Makefile
@@ -0,0 +1,11 @@
+--- dtc-1.6.1.orig/Makefile 2021-06-08 09:00:49.000000000 +0200
++++ dtc-1.6.1/Makefile 2022-09-20 08:58:33.198381442 +0200
+@@ -23,7 +23,7 @@ ASSUME_MASK ?= 0
+ CPPFLAGS = -I libfdt -I . -DFDT_ASSUME_MASK=$(ASSUME_MASK)
+ WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
+ -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
+-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS) $(EXTRA_CFLAGS)
++CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) $(WARNINGS) $(EXTRA_CFLAGS)
+
+ BISON = bison
+ LEX = flex
diff --git a/package/gettext/Makefile b/package/gettext/Makefile
index 82439e19e..6594eb995 100644
--- a/package/gettext/Makefile
+++ b/package/gettext/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 9c1781328238caa1685d7bc7a2e1dcf1c6c134e86b42ed554066734b621bd12f
PKG_DESCR:= i18n tools and libs
PKG_SECTION:= libs/misc
+HOST_BUILDDEP:= automake-host
PKG_URL:= https://www.gnu.org/software/gettext/
PKG_SITES:= http://ftp.gnu.org/pub/gnu/gettext/
PKG_OPTS:= dev
diff --git a/package/popt/Makefile b/package/popt/Makefile
index d9582474b..bd1746a90 100644
--- a/package/popt/Makefile
+++ b/package/popt/Makefile
@@ -4,13 +4,14 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= popt
-PKG_VERSION:= 1.18
+PKG_VERSION:= 1.19
PKG_RELEASE:= 1
-PKG_HASH:= 36245242c59b5a33698388e415a3e1efa2d48fc4aead91aeb2810b4c0744f4e3
+PKG_HASH:= 6eb40d650526cb9fe63eb4415bcecdf9cf306f7556e77eff689abc5a44670060
PKG_DESCR:= command line option parsing library
PKG_SECTION:= libs/misc
PKG_URL:= http://rpm5.org/
PKG_BUILDDEP:= gettext-host
+HOST_BUILDDEP:= gettext-host libtool-host
PKG_SITES:= https://github.com/rpm-software-management/popt/archive/refs/tags/
PKG_LIBNAME:= libpopt
PKG_OPTS:= dev
diff --git a/package/popt/patches/patch-Makefile_am b/package/popt/patches/patch-Makefile_am
new file mode 100644
index 000000000..0c25da403
--- /dev/null
+++ b/package/popt/patches/patch-Makefile_am
@@ -0,0 +1,11 @@
+--- popt-popt-1.19-release.orig/Makefile.am 2022-09-16 09:05:46.000000000 +0200
++++ popt-popt-1.19-release/Makefile.am 2022-09-21 02:11:30.830446841 +0200
+@@ -4,7 +4,7 @@ MCCABE = pmccabe
+
+ EXTRA_DIST = autogen.sh CREDITS $(man_MANS) ci/Dockerfile build-aux popt.pdf
+
+-SUBDIRS = src po tests
++SUBDIRS = src
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = popt.pc
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index 03bc50d76..617233c09 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:= 2021.10
+PKG_VERSION:= 2022.10-rc5
PKG_RELEASE:= 1
-PKG_HASH:= cde723e19262e646f2670d25e5ec4b1b368490de950d4e26275a988c36df0bd4
+PKG_HASH:= 064bf54541fc4eb30f0dd336702484ba5d39c4aceb48042216d8e72294c5787d
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
HOST_BUILDDEP:= libressl-host dtc-host
@@ -16,7 +16,7 @@ PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/
DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SYSTEM_DEPENDS:= beaglebone-black orange-pi0 raspberry-pi raspberry-pi2 raspberry-pi3 banana-pro solidrun-imx6 solidrun-clearfog raspberry-pi3-64 raspberry-pi3p raspberry-pi3p-64 phytec-imx6 pcduino-3b imgtec-ci20
+PKG_SYSTEM_DEPENDS:= beaglebone-black orange-pi0 raspberry-pi raspberry-pi2 raspberry-pi3 banana-pro solidrun-imx6 solidrun-clearfog raspberry-pi3-64 raspberry-pi3p raspberry-pi3p-64 phytec-imx6 pcduino-3b imgtec-ci20 st-stm32f746g
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
@@ -74,6 +74,10 @@ ifeq ($(ADK_TARGET_SYSTEM_IMGTEC_CI20),y)
CONFIG:= ci20_mmc_defconfig
UBOOT:= u-boot-dtb.img
endif
+ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F746G),y)
+CONFIG:= stm32f746-disco_spl_defconfig
+UBOOT:= u-boot-dtb.bin
+endif
HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" \
HOSTLDFLAGS="$(HOST_LDFLAGS) -ldl"
@@ -97,6 +101,7 @@ do-configure:
do-build:
(cd $(WRKBUILD) && env \
+ V=1 \
PATH='$(HOST_PATH)' \
CROSS_COMPILE='$(TARGET_CROSS)' \
$(MAKE))