diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-28 15:27:17 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-28 19:12:42 +0200 |
commit | 5d3a0c6b26144eb5d62515b99613b5ad8dbdc717 (patch) | |
tree | 1c4df44ca0def37027cd77754235dbee9eb53b2d /package/utils | |
parent | f47aeac9b9d836b265eb10fa89c7411e6ed39f93 (diff) | |
download | upstream-5d3a0c6b26144eb5d62515b99613b5ad8dbdc717.tar.gz upstream-5d3a0c6b26144eb5d62515b99613b5ad8dbdc717.tar.bz2 upstream-5d3a0c6b26144eb5d62515b99613b5ad8dbdc717.zip |
bcm27xx-userland: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'package/utils')
-rw-r--r-- | package/utils/bcm27xx-userland/Makefile | 6 | ||||
-rw-r--r-- | package/utils/bcm27xx-userland/patches/0001-Revert-Add-MMAL-and-MMAL_APPS-to-64bit-builds.patch | 75 |
2 files changed, 79 insertions, 2 deletions
diff --git a/package/utils/bcm27xx-userland/Makefile b/package/utils/bcm27xx-userland/Makefile index cf0aa9fa2a..b625b9c0d5 100644 --- a/package/utils/bcm27xx-userland/Makefile +++ b/package/utils/bcm27xx-userland/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bcm27xx-userland -PKG_VERSION:=4a57ea4107a4d48564242b21608ab259da5ced35 +PKG_VERSION:=f4bccc38f9d0a740aeb7818d33ca1fd551e325de PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/raspberrypi/userland/tar.gz/$(PKG_VERSION)? -PKG_HASH:=2306fce8b6cb36961c6da59f1286b0fa7c278b12f0b804bc65719574ecdf7021 +PKG_HASH:=3a4ea8788809bf889da9fe61759e4f8daafab3444264c011db9c6b25237fd044 PKG_FLAGS:=nonshared @@ -51,10 +51,12 @@ define Package/bcm27xx-userland/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtmerge $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtparam $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtoverlay $(1)/usr/bin +ifneq ($(ARCH),aarch64) $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/raspistill $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/raspivid $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/raspividyuv $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/raspiyuv $(1)/usr/bin +endif $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tvservice $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vcgencmd $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/vcmailbox $(1)/usr/bin diff --git a/package/utils/bcm27xx-userland/patches/0001-Revert-Add-MMAL-and-MMAL_APPS-to-64bit-builds.patch b/package/utils/bcm27xx-userland/patches/0001-Revert-Add-MMAL-and-MMAL_APPS-to-64bit-builds.patch new file mode 100644 index 0000000000..89295c9ff0 --- /dev/null +++ b/package/utils/bcm27xx-userland/patches/0001-Revert-Add-MMAL-and-MMAL_APPS-to-64bit-builds.patch @@ -0,0 +1,75 @@ +From 39c946b5dfcc38d3b2cd16d9c96f47a8341387cd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com> +Date: Thu, 28 May 2020 15:19:57 +0200 +Subject: [PATCH] Revert "Add MMAL and MMAL_APPS to 64bit builds" + +This reverts commit 7d3c6b9f4c3ddeecefdeb2b882bada74a235249b. +--- + CMakeLists.txt | 18 ++++++++++-------- + host_applications/linux/CMakeLists.txt | 4 ++-- + interface/mmal/CMakeLists.txt | 6 ++---- + 3 files changed, 14 insertions(+), 14 deletions(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -8,9 +8,13 @@ SET(PROJECT_VER_PATCH 0) + SET(PROJECT_VER "${PROJECT_VER_MAJOR}.${PROJECT_VER_MINOR}.${PROJECT_VER_PATCH}") + SET(PROJECT_APIVER "${PROJECT_VER}") + +-set(BUILD_MMAL TRUE) +-set(BUILD_MMAL_APPS TRUE) +- ++if(ARM64) ++ set(BUILD_MMAL FALSE) ++ set(BUILD_MMAL_APPS FALSE) ++else() ++ set(BUILD_MMAL TRUE) ++ set(BUILD_MMAL_APPS TRUE) ++endif() + set(vmcs_root ${PROJECT_SOURCE_DIR}) + get_filename_component(VIDEOCORE_ROOT . ABSOLUTE) + +@@ -74,11 +78,9 @@ if(BUILD_MMAL) + endif() + + # VidTex supports Android and Linux +-if(NOT ARM64) +- if(BUILD_MMAL_APPS) +- add_subdirectory(host_applications/android/apps/vidtex) +- endif(BUILD_MMAL_APPS) +-endif() ++if(BUILD_MMAL_APPS) ++add_subdirectory(host_applications/android/apps/vidtex) ++endif(BUILD_MMAL_APPS) + + if(NOT ARM64) + add_subdirectory(middleware/openmaxil) +--- a/host_applications/linux/CMakeLists.txt ++++ b/host_applications/linux/CMakeLists.txt +@@ -4,9 +4,9 @@ add_subdirectory(libs/bcm_host) + add_subdirectory(apps/gencmd) + add_subdirectory(apps/tvservice) + add_subdirectory(apps/vcmailbox) +-add_subdirectory(apps/raspicam) +-add_subdirectory(libs/sm) + if(NOT ARM64) ++ add_subdirectory(apps/raspicam) ++ add_subdirectory(libs/sm) + add_subdirectory(apps/smem) + endif() + add_subdirectory(libs/debug_sym) +--- a/interface/mmal/CMakeLists.txt ++++ b/interface/mmal/CMakeLists.txt +@@ -11,10 +11,8 @@ add_subdirectory(core) + add_subdirectory(util) + add_subdirectory(vc) + add_subdirectory(components) +-if(NOT ARM64) +- add_subdirectory(openmaxil) +- add_subdirectory(client) +-endif() ++add_subdirectory(openmaxil) ++add_subdirectory(client) + + target_link_libraries(mmal mmal_core mmal_util mmal_vc_client vcos mmal_components) + |