3 include $(TOPDIR
)/rules.mk
9 PKG_MD5SUM
:=0fb6b4163c3ed8f4930f00791b8a25c1
11 PKG_SOURCE_URL
:=ftp
://ftp.alsa-project.org
/pub
/driver
/
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
18 KERNEL_DIR
:=$(LINUX_DIR
)
21 include $(TOPDIR
)/package
/rules.mk
23 $(eval
$(call PKG_template
,KMOD_ALSA
,kmod-alsa
,$(LINUX_VERSION
)$(BOARD
)+$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
),kernel-
$(LINUX_VERSION
)-$(BOARD
) ($(KERNEL_RELEASE
))))
25 $(PKG_BUILD_DIR
)/.configured
: $(PKG_BUILD_DIR
)/.prepared
26 (cd
$(PKG_BUILD_DIR
); \
28 --with-kernel
=$(KERNEL_DIR
) \
29 --with-cross
=$(KERNEL_CROSS
) \
33 --with-cards
=usb-audio \
37 $(PKG_BUILD_DIR
)/.built
:
38 $(MAKE
) -C
$(PKG_BUILD_DIR
)
42 install -d
-m0755
$(IDIR_KMOD_ALSA
)/etc
/modules.d
43 install -m0644 .
/files
/alsa.modules
$(IDIR_KMOD_ALSA
)/etc
/modules.d
/70-alsa
44 install -d
-m0755
$(IDIR_KMOD_ALSA
)/lib
/modules
/$(LINUX_VERSION
)
45 install -m0644
$(PKG_BUILD_DIR
)/modules
/*.o \
46 $(IDIR_KMOD_ALSA
)/lib
/modules
/$(LINUX_VERSION
)/
47 $(IPKG_BUILD
) $(IDIR_KMOD_ALSA
) $(PACKAGE_DIR
)