treewide: Mark packages nonshared if they depend on @TARGET_
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 May 2021 22:35:38 +0000 (00:35 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 May 2021 22:39:26 +0000 (00:39 +0200)
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>
(cherry picked from commit 1903233f2b312caf87aa369cd325d9689c45a1c6)

12 files changed:
package/firmware/amd64-microcode/Makefile
package/firmware/cypress-nvram/Makefile
package/firmware/intel-microcode/Makefile
package/firmware/layerscape/fman-ucode/Makefile
package/firmware/layerscape/ls-ddr-phy/Makefile
package/firmware/layerscape/ls-dpl/Makefile
package/firmware/layerscape/ls-mc/Makefile
package/firmware/layerscape/ls-rcw/Makefile
package/firmware/layerscape/ppfe-firmware/Makefile
package/network/utils/layerscape/restool/Makefile
package/system/iucode-tool/Makefile
package/utils/bcm4908img/Makefile

index cf21aba569b5fd24ff50053dd462e3eff6b06a1f..217d99acddeae3ef733c5e3f07c7cc8841f43122 100644 (file)
@@ -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
index bccdb3fcedaba5696728f3745b6bb7eac9af40d1..777b8260885f521b041a40cc685e0667cac6fad6 100644 (file)
@@ -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
index b3c3674f8787b9f4bfbe373acd9c47e66ab74a36..f5c66c404d65f20ef33eddc44bafabc42442dfb5 100644 (file)
@@ -24,6 +24,8 @@ else
        MICROCODE:="intel-microcode"
 endif
 
+PKG_FLAGS:=nonshared
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/intel-microcode
index 8c76774ac753a5f24d6fedd798608a4596f8300f..69cc761110340d6674064efa9e4db31cc48f3ecd 100644 (file)
@@ -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
index bd861962e7f0cc4f6a2e53a06e255da5dc00264d..68142b4bbf50c6df8c36f9ad4949668e1390e7ce 100644 (file)
@@ -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
index f577c5b7e377a2c36ba0a829b10c9a013ef77b37..8ba5fafb2b74ada61f9942ef8ff69776274251ac 100644 (file)
@@ -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
 
index daba35a3b91054ad999b5bc721e4c9f69d1a7327..3b2cdebbf1b11b981c5f8009f8d1cc45b70f033e 100644 (file)
@@ -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
index f7f99a0c304224cdfc71501264ba816e5ba5091e..fdc5c0ce24ca619e632ee0193e744bc84b877a6b 100644 (file)
@@ -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
index 14ceb0218bdcf3ca34a70eb2b1937deac498d58c..96246fa0d9a179463b5bd904868e713cb6066178 100644 (file)
@@ -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:=:
index 935513d4ed89bd9b0935dab1756838c0fd8f7223..73fa8e4d9eaa730c9c5afd2d9181ee59ae65fc45 100644 (file)
@@ -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
index 5f4cfb6238ef2eac3688e1e2cb009a088bfa0b5e..b8227ed4a1986ad5884cb3b8800ae94cccb6f031 100644 (file)
@@ -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
index 108fe600e56868132dda00bc6702085ab8589833..c18ac958f8d7958dcb57251bde18d899cf860a46 100644 (file)
@@ -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