forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
brcm2708: rename target to bcm27xx (coolsnowwolf#3098)
Signed-off-by: AmadeusGhost <[email protected]>
- Loading branch information
Showing
853 changed files
with
124 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ PKG_SOURCE:=cypress-fmac-$(PKG_VERSION).zip | |
PKG_SOURCE_URL:=https://community.cypress.com/servlet/JiveServlet/download/19000-1-51721/ | ||
PKG_HASH:=a5510f82aacf585b5d29732b6d6777d4a4b26a667154d91cfcfc0d6d5dc4fef5 | ||
|
||
PKG_MAINTAINER:=?lvaro Fern?ndez Rojas <[email protected]> | ||
PKG_MAINTAINER:=Álvaro Fernández Rojas <[email protected]> | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# | ||
# Copyright (C) 2019 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=bcm27xx-userland | ||
PKG_VERSION:=42ec119e03eb8dffc7c83e2ac0e665e333abbef6 | ||
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:=cb0f1d653fdb9975783f30359277d9de2868607381e081796eac68745e3e8324 | ||
|
||
PKG_FLAGS:=nonshared | ||
|
||
PKG_MAINTAINER:=Álvaro Fernández Rojas <[email protected]> | ||
|
||
CMAKE_INSTALL:=1 | ||
CMAKE_OPTIONS+=-DVMCS_INSTALL_PREFIX=/usr | ||
|
||
ifeq ($(ARCH),aarch64) | ||
CMAKE_OPTIONS+=-DARM64=ON | ||
else | ||
CMAKE_OPTIONS+=-DARM64=OFF | ||
endif | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/cmake.mk | ||
|
||
TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS) | ||
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) | ||
|
||
define Package/bcm27xx-userland | ||
SECTION:=utils | ||
CATEGORY:=Utilities | ||
DEPENDS:=@TARGET_bcm27xx | ||
TITLE:=BCM27xx userland tools | ||
DEFAULT:=y if TARGET_bcm27xx | ||
endef | ||
|
||
define Package/bcm27xx-userland/description | ||
BCM27xx userland tools including vcgencmd and tvservice. | ||
endef | ||
|
||
define Package/bcm27xx-userland/install | ||
$(INSTALL_DIR) $(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 | ||
$(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 | ||
|
||
$(INSTALL_DIR) $(1)/usr/include | ||
$(CP) $(PKG_INSTALL_DIR)/usr/include/ $(1)/usr/ | ||
|
||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ $(1)/usr/ | ||
endef | ||
|
||
$(eval $(call BuildPackage,bcm27xx-userland)) |
11 changes: 11 additions & 0 deletions
11
package/utils/bcm27xx-userland/patches/001-interface-vcms_host-cmake-fixes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/interface/vmcs_host/CMakeLists.txt | ||
+++ b/interface/vmcs_host/CMakeLists.txt | ||
@@ -24,7 +24,7 @@ if(NOT ARM64) | ||
|
||
# ILCS pulls in EGL for the ILCS/EGL surface API support | ||
target_link_libraries(vcilcs brcmEGL brcmGLESv2 khrn_client vchiq_arm vcos) | ||
- set(INSTALL_TARGETS "${INSTALL_TARGETS} vcilcs") | ||
+ set(INSTALL_TARGETS ${INSTALL_TARGETS} vcilcs) | ||
endif() | ||
|
||
# vchostif needs ilcore as well (vmcs_main pulls it in) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
ARCH:=arm | ||
BOARD:=brcm2708 | ||
BOARD:=bcm27xx | ||
BOARDNAME:=Broadcom BCM27xx | ||
FEATURES:=ext4 audio usb usbgadget display gpio fpu squashfs rootfs-part boot-part | ||
MAINTAINER:=Álvaro Fernández Rojas <[email protected]> | ||
|
@@ -23,7 +23,7 @@ endef | |
|
||
include $(INCLUDE_DIR)/target.mk | ||
DEFAULT_PACKAGES += \ | ||
brcm2708-gpu-fw \ | ||
bcm27xx-gpu-fw \ | ||
kmod-usb-hid \ | ||
kmod-sound-core kmod-sound-arm-bcm2835 \ | ||
kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \ | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.