diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-22 23:13:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-22 23:13:02 +0200 |
commit | 05c843d89ae4520d7196a98f947e97c4243d14c2 (patch) | |
tree | a3689d9f2dd97a129f97f71e82df94928f6906dc | |
parent | 53252e6369c2b3657e00d750e3e0535710eb1848 (diff) |
mksh needs mmu
-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 |