From 008eac8c951efbcd70a0fdd4e2bebdaf2dafd2da Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 10 Mar 2026 15:57:39 -0500 Subject: [PATCH] Makefile.inc, stdbit/Makefile.inc: Makefile changes --- newlib/libc/Makefile.inc | 1 + newlib/libc/stdbit/Makefile.inc | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 newlib/libc/stdbit/Makefile.inc diff --git a/newlib/libc/Makefile.inc b/newlib/libc/Makefile.inc index d07eed764..565156257 100644 --- a/newlib/libc/Makefile.inc +++ b/newlib/libc/Makefile.inc @@ -41,6 +41,7 @@ install-man: %C%_install-man ## Also keep in mind that every subdir must always be included here. Any ## conditional loigc must live in the respective Makefile.inc files. include %D%/argz/Makefile.inc +include %D%/stdbit/Makefile.inc include %D%/stdlib/Makefile.inc include %D%/ctype/Makefile.inc include %D%/search/Makefile.inc diff --git a/newlib/libc/stdbit/Makefile.inc b/newlib/libc/stdbit/Makefile.inc new file mode 100644 index 000000000..0f91f6797 --- /dev/null +++ b/newlib/libc/stdbit/Makefile.inc @@ -0,0 +1,15 @@ +libc_a_SOURCES += \ + %D/stdc_bit_ceil.c \ + %D/stdc_bit_floor.c \ + %D/stdc_bit_width.c \ + %D/stdc_count_ones.c \ + %D/stdc_count_zeros.c \ + %D/stdc_first_leading_one.c \ + %D/stdc_first_leading_zero.c \ + %D/stdc_first_trailing_one.c \ + %D/stdc_first_trailing_zero.c \ + %D/stdc_has_single_bit.c \ + %D/stdc_leading_ones.c \ + %D/stdc_leading_zeros.c \ + %D/stdc_trailing_ones.c \ + %D/stdc_trailing_zeros.c -- 2.47.3