From 67c3e4c03f1dab1f840a81c2ce438d47ef8389f5 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Tue, 24 Jan 2023 08:58:39 +0000 Subject: make: allow building as pdpmake only Commit f261d2d27 (make: make + sh configuration) added 'pdpmake' as an alias for 'make'. It should have been possible to include 'pdpmake' in a build without also including 'make'. Adjust the build configuration so this works as intended. --- miscutils/make.c | 1 + win32/Kbuild | 1 + 2 files changed, 2 insertions(+) diff --git a/miscutils/make.c b/miscutils/make.c index bc84e8242..24e286aa9 100644 --- a/miscutils/make.c +++ b/miscutils/make.c @@ -34,6 +34,7 @@ //applet:IF_PDPMAKE(APPLET_ODDNAME(pdpmake, make, BB_DIR_USR_BIN, BB_SUID_DROP, make)) //kbuild:lib-$(CONFIG_MAKE) += make.o +//kbuild:lib-$(CONFIG_PDPMAKE) += make.o //usage:#define make_trivial_usage //usage: IF_FEATURE_MAKE_POSIX( diff --git a/win32/Kbuild b/win32/Kbuild index 10614461a..ecd27645c 100644 --- a/win32/Kbuild +++ b/win32/Kbuild @@ -9,6 +9,7 @@ lib-$(CONFIG_PLATFORM_MINGW32) += env.o lib-$(CONFIG_PLATFORM_MINGW32) += fnmatch.o lib-$(CONFIG_PLATFORM_MINGW32) += fsync.o lib-$(CONFIG_MAKE) += glob.o +lib-$(CONFIG_PDPMAKE) += glob.o lib-$(CONFIG_PLATFORM_MINGW32) += inet_pton.o lib-$(CONFIG_PLATFORM_MINGW32) += ioctl.o lib-$(CONFIG_FEATURE_PRNG_ISAAC) += isaac.o -- cgit v1.2.3-55-g6feb