kernel: allow subtarget specific KernelPackage
Add a call to KernelPackage/$(1)/$(BOARD)/$(SUBTARGET) to the KernelPackage macro. This allows to add kernel packages for x86/64, without breaking x86. It's not possible to do this with BOARD, as BOARD=x86 for x86_64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
301301da2b
commit
a93accd73d
@ -155,6 +155,7 @@ define KernelPackage
|
|||||||
$(eval $(call KernelPackage/Defaults))
|
$(eval $(call KernelPackage/Defaults))
|
||||||
$(eval $(call KernelPackage/$(1)))
|
$(eval $(call KernelPackage/$(1)))
|
||||||
$(eval $(call KernelPackage/$(1)/$(BOARD)))
|
$(eval $(call KernelPackage/$(1)/$(BOARD)))
|
||||||
|
$(eval $(call KernelPackage/$(1)/$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic)))
|
||||||
|
|
||||||
define Package/kmod-$(1)
|
define Package/kmod-$(1)
|
||||||
TITLE:=$(TITLE)
|
TITLE:=$(TITLE)
|
||||||
@ -166,6 +167,7 @@ define KernelPackage
|
|||||||
PKGFLAGS:=$(PKGFLAGS)
|
PKGFLAGS:=$(PKGFLAGS)
|
||||||
$(call KernelPackage/$(1))
|
$(call KernelPackage/$(1))
|
||||||
$(call KernelPackage/$(1)/$(BOARD))
|
$(call KernelPackage/$(1)/$(BOARD))
|
||||||
|
$(call KernelPackage/$(1)/$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifdef KernelPackage/$(1)/conffiles
|
ifdef KernelPackage/$(1)/conffiles
|
||||||
|
Loading…
Reference in New Issue
Block a user