1 LINUX_KARCH
:=$(shell echo
$(ARCH
) | sed
-e
's/i[3-9]86/i386/' \
14 ifeq ($$(strip $(4)),)
20 IDEPEND_
$(1):=kernel
($(LINUX_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)) $(foreach pkg
,$(5),", $(pkg)")
22 PKG_
$(1) := $(PACKAGE_DIR
)/kmod-
$(2)_
$(LINUX_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)_
$(ARCH
).ipk
23 I_
$(1) := $(PKG_BUILD_DIR
)/ipkg
/$(2)
25 ifeq ($$(KDEPEND_
$(1)),m
)
26 ifneq ($(BR2_PACKAGE_KMOD_
$(1)),)
27 TARGETS
+= $$(PKG_
$(1))
29 ifeq ($(BR2_PACKAGE_KMOD_
$(1)),y
)
30 INSTALL_TARGETS
+= $$(PKG_
$(1))
34 $$(PKG_
$(1)): $(LINUX_DIR
)/.modules_done
36 $(SCRIPT_DIR
)/make-ipkg-dir.sh
$$(I_
$(1)) ..
/control
/kmod-
$(2).control
$(LINUX_VERSION
)-$(BOARD
)-$(PKG_RELEASE
) $(ARCH
)
37 echo
"Depends: $$(IDEPEND_$(1))" >> $$(I_
$(1))/CONTROL
/control
38 ifneq ($(strip $(3)),)
39 mkdir
-p
$$(I_
$(1))/lib
/modules
/$(LINUX_VERSION
)
40 cp
$(3) $$(I_
$(1))/lib
/modules
/$(LINUX_VERSION
)
43 mkdir
-p
$$(I_
$(1))/etc
/modules.d
44 for module in
$(7); do \
45 echo
$$$$module >> $$(I_
$(1))/etc
/modules.d
/$(6)-$(2); \
49 $(IPKG_BUILD
) $$(I_
$(1)) $(PACKAGE_DIR
) $(MAKE_TRACE
)
This page took 0.041231 seconds and 5 git commands to generate.