diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-09-16 13:05:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-09-16 13:05:46 +0200 |
commit | afab289b265ff987c3f62393b3ef707c2650704f (patch) | |
tree | e4145c43758117b6c9c372a89cbb8ad34e6fb7fe /package/expat | |
parent | a2e96ddb9519a2f40857f11501b88e465d25082d (diff) |
add some native build fixes (tested on Lemote notebook)
- enable busybox applets needed for natvie builds
- add header packages for expat and libnl
- remove rtl8187b driver, use kernel included driver
(needs more testing)
Diffstat (limited to 'package/expat')
-rw-r--r-- | package/expat/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package/expat/Makefile b/package/expat/Makefile index 6d267e53e..28fde3a50 100644 --- a/package/expat/Makefile +++ b/package/expat/Makefile @@ -12,6 +12,10 @@ PKG_SECTION:= libs PKG_URL:= http://expat.sourceforge.net PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=expat/} +PKG_SUBPKGS:= LIBEXPAT LIBEXPAT_DEV +PKGSD_LIBEXPAT_DEV:= development files for expat +PKGSC_LIBEXPAT_DEV:= devel + ifeq ($(ADK_STATIC),y) PKG_OPTS:= libonly endif @@ -19,9 +23,18 @@ endif include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,LIBEXPAT_DEV,libexpat-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBEXPAT_DEV},${PKGSC_LIBEXPAT_DEV})) + +SUB_INSTALLS-y:= +SUB_INSTALLS-m:= +SUB_INSTALLS-${ADK_PACKAGE_LIBEXPAT_DEV}+= libexpat-dev-install -post-install: +post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y} ${INSTALL_DIR} ${IDIR_LIBEXPAT}/usr/lib ${CP} ${WRKINST}/usr/lib/libexpat.so* ${IDIR_LIBEXPAT}/usr/lib/ +libexpat-dev-install: + ${INSTALL_DIR} ${IDIR_LIBEXPAT_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBEXPAT_DEV}/usr/include + include ${TOPDIR}/mk/pkg-bottom.mk |