A package for kmod-nvme #40
|
@ -2,7 +2,6 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=i2c-mux-pinctrl
|
PKG_NAME:=i2c-mux-pinctrl
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -19,23 +18,8 @@ define KernelPackage/$(PKG_NAME)/description
|
||||||
Kernel modules for GENERIC_PINCTRL I2C bus mux/switching devices
|
Kernel modules for GENERIC_PINCTRL I2C bus mux/switching devices
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_KCONFIG:= \
|
EXTRA_KCONFIG:= CONFIG_I2C_MUX_PINCTRL=m
|
||||||
CONFIG_I2C_MUX_PINCTRL=m
|
|
||||||
|
|
||||||
EXTRA_CFLAGS:= \
|
include ../kmod.mk
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(EXTRA_KCONFIG)))) \
|
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \
|
|
||||||
|
|
||||||
MAKE_OPTS:= \
|
|
||||||
$(KERNEL_MAKE_FLAGS) \
|
|
||||||
M="$(PKG_BUILD_DIR)" \
|
|
||||||
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
|
||||||
$(EXTRA_KCONFIG)
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C "$(LINUX_DIR)" \
|
|
||||||
$(MAKE_OPTS) \
|
|
||||||
modules
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,$(PKG_NAME)))
|
$(eval $(call KernelPackage,$(PKG_NAME)))
|
||||||
|
|
|
@ -2,7 +2,6 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=rtc-pcf85063
|
PKG_NAME:=rtc-pcf85063
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -23,20 +22,6 @@ EXTRA_KCONFIG:= \
|
||||||
CONFIG_RTC_DRV_PCF85063=m \
|
CONFIG_RTC_DRV_PCF85063=m \
|
||||||
CONFIG_RTC_CLASS=y
|
CONFIG_RTC_CLASS=y
|
||||||
|
|
||||||
EXTRA_CFLAGS:= \
|
include ../kmod.mk
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(EXTRA_KCONFIG)))) \
|
|
||||||
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \
|
|
||||||
|
|
||||||
MAKE_OPTS:= \
|
|
||||||
$(KERNEL_MAKE_FLAGS) \
|
|
||||||
M="$(PKG_BUILD_DIR)" \
|
|
||||||
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
|
||||||
$(EXTRA_KCONFIG)
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C "$(LINUX_DIR)" \
|
|
||||||
$(MAKE_OPTS) \
|
|
||||||
modules
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,$(PKG_NAME)))
|
$(eval $(call KernelPackage,$(PKG_NAME)))
|
||||||
|
|
16
feed/kmod.mk
Normal file
16
feed/kmod.mk
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
PKG_RELEASE?=1
|
||||||
|
|
||||||
|
EXTRA_CFLAGS:= \
|
||||||
|
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=m,%,$(filter %=m,$(EXTRA_KCONFIG)))) \
|
||||||
|
$(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \
|
||||||
|
|
||||||
|
MAKE_OPTS:= \
|
||||||
|
$(KERNEL_MAKE_FLAGS) \
|
||||||
|
M="$(PKG_BUILD_DIR)" \
|
||||||
|
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
||||||
|
$(EXTRA_KCONFIG)
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(MAKE) -C "$(LINUX_DIR)" $(MAKE_OPTS) modules
|
||||||
|
endef
|
Loading…
Reference in New Issue
Block a user