Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
30
package/kernel/ubootenv-nvram/Makefile
Normal file
30
package/kernel/ubootenv-nvram/Makefile
Normal file
@@ -0,0 +1,30 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=ubootenv-nvram
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define KernelPackage/ubootenv-nvram
|
||||
SUBMENU:=Other modules
|
||||
TITLE:=NVRAM environment for uboot-envtools
|
||||
FILES:=$(PKG_BUILD_DIR)/ubootenv-nvram.ko
|
||||
AUTOLOAD:=$(call AutoLoad,30,ubootenv-nvram,1)
|
||||
KCONFIG:=
|
||||
endef
|
||||
|
||||
define KernelPackage/ubootenv-nvram/description
|
||||
Support vendor modified U-Boot storing the environment
|
||||
in RAM. This driver exports the environment memory
|
||||
region as a misc device named "ubootenv", pretending
|
||||
it is a NOR mtd device to let existing userspace tools
|
||||
work without modifications.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(KERNEL_MAKE) M="$(PKG_BUILD_DIR)" modules
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ubootenv-nvram))
|
||||
Reference in New Issue
Block a user