Skip to content

Commit

Permalink
treewide: Mark packages nonshared if they depend on @TARGET_
Browse files Browse the repository at this point in the history
This marks all packages which depend on a target with @target nonshared.
If they are not marked nonshared they would be build by the SDK build
and if this happens with a different SDK, then the SDK from the target
the package depends on, the package would not be added to the index.

This should fix the image builder for some of these packages.

This should fix the image builder at least for bcm27xx/bcm2710 and
bcm4908/generic.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
hauke committed May 23, 2021
1 parent a6616ee commit 1903233
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/firmware/amd64-microcode/Makefile
Expand Up @@ -18,6 +18,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-3.$(PKG_VERSION).$(PKG_RELEASE)

PKG_LICENSE_FILE:=LICENSE.amd-ucode

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/amd64-microcode
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/cypress-nvram/Makefile
Expand Up @@ -18,6 +18,8 @@ PKG_SOURCE_URL:=https://github.com/openwrt/cypress-nvram.git

PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/cypress-nvram-default
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/intel-microcode/Makefile
Expand Up @@ -24,6 +24,8 @@ else
MICROCODE:="intel-microcode"
endif

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/intel-microcode
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/layerscape/fman-ucode/Makefile
Expand Up @@ -16,6 +16,8 @@ PKG_SOURCE_URL:=https://github.com/NXP/qoriq-fm-ucode.git
PKG_SOURCE_VERSION:=c275e91392e2adab1ed22f3867b8269ca3c54014
PKG_MIRROR_HASH:=90b619ed501462b92f34f2fabfa09d6aaa5235990891d1c3132821c7d18a39bd

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/layerscape-fman
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/layerscape/ls-ddr-phy/Makefile
Expand Up @@ -18,6 +18,8 @@ PKG_BUILD_DEPENDS:=tfa-layerscape/host
PKG_LICENSE:=EULA
PKG_LICENSE_FILES:=NXP-Binary-EULA.txt

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/layerscape-ddr-phy
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/layerscape/ls-dpl/Makefile
Expand Up @@ -16,6 +16,8 @@ PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/mc
PKG_SOURCE_VERSION:=8672a5f5abcd3a354dcab07e03f2a8a69b2e962d
PKG_MIRROR_HASH:=4b8ad3148aee1e0c034206543472aebb435655fd03a661c4c1be545dcac7ddf0

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/kernel.mk

Expand Down
2 changes: 2 additions & 0 deletions package/firmware/layerscape/ls-mc/Makefile
Expand Up @@ -16,6 +16,8 @@ PKG_SOURCE_URL:=https://github.com/NXP/qoriq-mc-binary.git
PKG_SOURCE_VERSION:=f73683596a7b72124d67b62e64f3dc2bb36b9321
PKG_MIRROR_HASH:=1cba30c2a6814763c3e155c1cc5fa21998bb6ad5814fcb09e99f98bf36f65d9e

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/layerscape-mc
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/layerscape/ls-rcw/Makefile
Expand Up @@ -16,6 +16,8 @@ PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/rc
PKG_SOURCE_VERSION:=e0fab6d9b61003caef577f7474c2fac61e6ba2ff
PKG_MIRROR_HASH:=b6bc66e27b7c6db31101fdc2e6be7255181861bd38d8f25eb5eb80c468983eb2

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/layerscape-rcw
Expand Down
2 changes: 2 additions & 0 deletions package/firmware/layerscape/ppfe-firmware/Makefile
Expand Up @@ -16,6 +16,8 @@ PKG_SOURCE_URL:=https://github.com/NXP/qoriq-engine-pfe-bin.git
PKG_SOURCE_VERSION:=d3a8ef0760c54ddc243039c86389497e37be90ab
PKG_MIRROR_HASH:=64be93b8249d298e7b5fd0846787835f0659b6ab6c55b40b809366c79e272eb8

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

RSTRIP:=:
Expand Down
2 changes: 2 additions & 0 deletions package/network/utils/layerscape/restool/Makefile
Expand Up @@ -16,6 +16,8 @@ PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/re
PKG_SOURCE_VERSION:=f0cec094e4c6d1c975b377203a3bf994ba9325a9
PKG_MIRROR_HASH:=1863acfaef319e6b277671fead51df0a31bdddb59022080d86b7d81da0bc8490

PKG_FLAGS:=nonshared

include $(INCLUDE_DIR)/package.mk

define Package/restool
Expand Down
2 changes: 2 additions & 0 deletions package/system/iucode-tool/Makefile
Expand Up @@ -20,6 +20,8 @@ PKG_BUILD_DEPENDS:=USE_UCLIBC:argp-standalone USE_MUSL:argp-standalone
PKG_MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
PKG_LICENSE:=GPL-2.0

PKG_FLAGS:=nonshared

PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
Expand Down
2 changes: 2 additions & 0 deletions package/utils/bcm4908img/Makefile
Expand Up @@ -5,6 +5,8 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bcm4908img
PKG_RELEASE:=1

PKG_FLAGS:=nonshared

PKG_BUILD_DEPENDS := bcm4908img/host

include $(INCLUDE_DIR)/package.mk
Expand Down

0 comments on commit 1903233

Please sign in to comment.