diff options
-rw-r--r-- | adk/tools/pkgmaker.c | 2 | ||||
-rw-r--r-- | package/mksh/Makefile | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c index fff2c4fba..e21f31ef5 100644 --- a/adk/tools/pkgmaker.c +++ b/adk/tools/pkgmaker.c @@ -895,6 +895,8 @@ int main() { fprintf(cfg, "\tselect ADK_PACKAGE_LIBRT\n"); if (strncmp(token, "c++", 3) == 0) 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, " "); } free(pkg_needs); diff --git a/package/mksh/Makefile b/package/mksh/Makefile index f928db56f..46dfc7bf3 100644 --- a/package/mksh/Makefile +++ b/package/mksh/Makefile @@ -9,10 +9,11 @@ PKG_RELEASE:= 1 PKG_HASH:= c6341acea725103f782c14e994d6e12dabaee69e60fe1bc78603a41258d43ba6 PKG_DESCR:= mirbsd korn shell PKG_SECTION:= base/shells +PKG_NEEDS:= mmu PKG_URL:= http://www.mirbsd.org/mksh.htm PKG_SITES:= $(MASTER_SITE_MIRBSD:distfiles/=dist/mir/mksh/) -PKG_DFLT_MKSH:= y if !ADK_TOOLCHAIN_ONLY && !ADK_TARGET_WITHOUT_MMU +PKG_DFLT_MKSH:= y if !ADK_TOOLCHAIN_ONLY PKG_SUBPKGS:= MKSH MKSH_TEST PKGSD_MKSH_TEST:= install testsuite |