1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= rtsp
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 92bb09883dd8a77ec5cfbff1c8932b15
  8. PKG_DESCR:= connection tracking for RTSP
  9. PKG_SECTION:= kernel
  10. PKG_URL:= http://github.com/maru-sama/rtsp-linux-v2.6
  11. PKG_CFLINE_RTSP:= depends on !ADK_TOOLCHAIN_ONLY
  12. NO_DISTFILES:= 1
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,RTSP_KMOD,rtsp-kmod,${KERNEL_VERSION}-${ADK_TARGET}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. pre-build:
  19. $(MAKE) -C ${WRKBUILD} $(KERNEL_MODULE_FLAGS) all
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_RTSP_KMOD}/etc/modules.d/
  22. echo "nf_conntrack_rtsp" > ${IDIR_RTSP_KMOD}/etc/modules.d/60-nf-nat-rtsp
  23. echo "nf_nat_rtsp" >> ${IDIR_RTSP_KMOD}/etc/modules.d/60-nf-nat-rtsp
  24. ${INSTALL_DIR} ${IDIR_RTSP_KMOD}/lib/modules/${KERNEL_VERSION}/
  25. ${INSTALL_DATA} ${WRKBUILD}/*.ko \
  26. ${IDIR_RTSP_KMOD}/lib/modules/${KERNEL_VERSION}
  27. include ${TOPDIR}/mk/pkg-bottom.mk