diff options
-rw-r--r-- | adk/tools/pkgmaker.c | 4 | ||||
-rw-r--r-- | mk/build.mk | 4 | ||||
-rw-r--r-- | package/findutils/Makefile | 2 | ||||
-rw-r--r-- | package/libsndfile/Makefile | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c index e21f31ef5..81d33d13d 100644 --- a/adk/tools/pkgmaker.c +++ b/adk/tools/pkgmaker.c @@ -893,8 +893,10 @@ int main() { fprintf(cfg, "\tselect ADK_PACKAGE_LIBPTHREAD\n"); if (strncmp(token, "rt", 2) == 0) fprintf(cfg, "\tselect ADK_PACKAGE_LIBRT\n"); - if (strncmp(token, "c++", 3) == 0) + if (strncmp(token, "c++", 3) == 0) { + fprintf(cfg, "\tselect ADK_TOOLCHAIN_WITH_CXX\n"); fprintf(cfg, "\tselect ADK_PACKAGE_LIBSTDCXX\n"); + } if (strncmp(token, "mmu", 3) == 0) fprintf(cfg, "\tdepends on ADK_TARGET_WITH_MMU\n"); token = strtok(NULL, " "); diff --git a/mk/build.mk b/mk/build.mk index 0223657ff..a83ce2185 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -118,6 +118,10 @@ POSTCONFIG= -@\ touch .rebuild.dropbear .rebuild.openssh;\ rebuild=1;\ fi; \ + if [ "$$(grep ^ADK_TOOLCHAIN_WITH .config|md5sum)" != "$$(grep ^ADK_TOOLCHAIN_WITH .config.old|md5sum)" ];then \ + cleandir=1;\ + rebuild=1;\ + fi; \ if [ "$$(grep ^ADK_TARGET_KERNEL_VERSION .config|md5sum)" != "$$(grep ^ADK_TARGET_KERNEL_VERSION .config.old|md5sum)" ];then \ cleandir=1;\ rebuild=1;\ diff --git a/package/findutils/Makefile b/package/findutils/Makefile index 46d8d1499..9b5b86ae4 100644 --- a/package/findutils/Makefile +++ b/package/findutils/Makefile @@ -10,7 +10,7 @@ PKG_HASH:= ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d PKG_DESCR:= utilities for finding files PKG_SECTION:= base/apps HOST_BUILDDEP:= bison-host -PKG_NEEDS:= treads +PKG_NEEDS:= threads PKG_URL:= http://www.gnu.org/software/findutils/ PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/ PKG_BB:= 1 diff --git a/package/libsndfile/Makefile b/package/libsndfile/Makefile index b93f095ca..00faca413 100644 --- a/package/libsndfile/Makefile +++ b/package/libsndfile/Makefile @@ -11,6 +11,7 @@ PKG_DESCR:= reading and writing files containing sampled sound PKG_SECTION:= libs/audio PKG_URL:= http://www.mega-nerd.com/libsndfile/ PKG_SITES:= http://www.mega-nerd.com/libsndfile/files/ +PKG_NEEDS:= c++ PKG_OPTS:= dev DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz |