Last active
August 11, 2020 16:42
-
-
Save cquartier/4f1050d14c463f1270115e3edd2af263 to your computer and use it in GitHub Desktop.
buildroot kernel extensions dependency problems?
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
# br2-external-dir/Config.in | |
source "$BR2_EXTERNAL_#####_PATH/linux/Config.ext.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
# br2-external-dir/linux/Config.ext.in | |
config BR2_LINUX_KERNEL_EXT_FOO | |
bool "foo" | |
select BR2_PACKAGE_FOO | |
help | |
Foo driver | |
config BR2_LINUX_KERNEL_EXT_BAR | |
bool "bar" | |
select BR2_PACKAGE_BAR | |
help | |
Bar driver |
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
# br2-external-dir/linux/linux-ext-bar.mk | |
################################################################################ | |
# | |
# bar | |
# | |
################################################################################ | |
LINUX_EXTENSIONS += bar | |
define BAR_PREPARE_KERNEL | |
### add bar files to kernel | |
endef |
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
# br2-external-dir/linux/linux-ext-foo.mk | |
################################################################################ | |
# | |
# foo | |
# | |
################################################################################ | |
LINUX_EXTENSIONS += foo | |
define FOO_PREPARE_KERNEL | |
### add foo files to kernel | |
endef |
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
# br2-external-dir/package/bar/bar.mk | |
################################################################################ | |
# | |
# bar | |
# | |
################################################################################ | |
BAR_VERSION = 0.1 | |
BAR_SITE_METHOD = local | |
BAR_SITE = ${BAR_PKGDIR}/src | |
BAR_LICENSE = GPL-2.0 | |
BAR_LICENSE_FILES = COPYING | |
$(eval $(generic-package)) |
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
# br2-external-dir/package/bar/Config.in | |
config BR2_PACKAGE_BAR | |
bool | |
help | |
Bar driver |
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
# br2-external-dir/package/foo/Config.in | |
config BR2_PACKAGE_FOO | |
bool | |
help | |
Foo driver |
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
# br2-external-dir/package/foo/foo.mk | |
################################################################################ | |
# | |
# foo | |
# | |
################################################################################ | |
FOO_VERSION = 0.1 | |
FOO_SITE_METHOD = local | |
FOO_SITE = ${FOO_PKGDIR}/src | |
FOO_LICENSE = GPL-2.0 | |
FOO_LICENSE_FILES = COPYING | |
$(eval $(generic-package)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment