add missing directory in host directory
[openadk.git] / package / exmap / Makefile
blobd6d04eca6d5599a776299f9d94637afbc178602c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= exmap
7 PKG_VERSION:= 0.4.1
8 PKG_RELEASE:= 4
9 PKG_HASH:= 53082354ae893fd385051c96214640cbeba527131ccf9f5320626252a4aef8d5
10 PKG_DESCR:= memory analysing tools
11 PKG_SECTION:= app/debug
12 PKG_DEPENDS:= libreadline glib
13 PKG_BUILDDEP:= glib readline
14 PKG_SITES:= http://labs.o-hand.com/sources/exmap-console/
16 PKG_ARCH_DEPENDS:= !m68k
17 PKG_SYSTEM_DEPENDS:= !raspberry-pi3
18 PKG_CFLINE_EXMAP:= depends on !ADK_APPLIANCE_TOOLCHAIN
20 DISTFILES:= ${PKG_NAME}-console-${PKG_VERSION}.tgz
21 WRKDIST= ${WRKDIR}/${PKG_NAME}-console-${PKG_VERSION}
23 include ${ADK_TOPDIR}/mk/package.mk
24 include ${ADK_TOPDIR}/mk/kernel-ver.mk
26 $(eval $(call PKG_template,EXMAP,exmap,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
28 AUTOTOOL_STYLE:= autoreconf
29 CONFIGURE_ARGS+= --disable-doc
30 CONFIGURE_ENV+= LIBS="-lncurses"
32 pre-build:
33 LDFLAGS="" $(MAKE) -C ${WRKBUILD}/kernel $(KERNEL_MODULE_FLAGS)
35 exmap-install:
36 ${INSTALL_DIR} ${IDIR_EXMAP}/etc/modules.d/
37 echo "exmap" > ${IDIR_EXMAP}/etc/modules.d/90-exmap
38 ${INSTALL_DIR} ${IDIR_EXMAP}/lib/modules/${KERNEL_VERSION}/
39 ${INSTALL_DATA} ${WRKBUILD}/kernel/exmap.ko \
40 ${IDIR_EXMAP}/lib/modules/${KERNEL_VERSION}
41 ${INSTALL_DIR} ${IDIR_EXMAP}/usr/sbin
42 ${INSTALL_BIN} ${WRKBUILD}/src/exmap* ${IDIR_EXMAP}/usr/sbin
44 include ${ADK_TOPDIR}/mk/pkg-bottom.mk