This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
osmith gerrit-no-reply at lists.osmocom.orgosmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-dev/+/25737 ) Change subject: gen_makefile.py: proj_files: ignore config.h ...................................................................... gen_makefile.py: proj_files: ignore config.h Do not consider config.h inside the source tree as modified source file. This file gets generated when running ./configure to build in-tree, whereas osmo-dev always builds out-of-tree. Having config.h inside proj_files causes problems with the next patch, where conflicting in-tree builds will be automatically be cleaned with "make distclean". For example: * "make libosmocore" runs with a previously configured in-tree build * proj_files contains config.h. * Before attempting to build libosmocore out-of-tree, with the next patch, "make distclean" gets executed. * config.h is now removed * .make.libosmocore.build target expects all proj_files to exist and fails with: make: *** No rule to make target '../src/libosmocore/config.h', needed by '.make.libosmocore.build'. Stop. Change-Id: I10d970f2cadacb5071dcde975c76b15404038a3c --- M gen_makefile.py 1 file changed, 8 insertions(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/37/25737/1 diff --git a/gen_makefile.py b/gen_makefile.py index e6a9480..5fa3e26 100755 --- a/gen_makefile.py +++ b/gen_makefile.py @@ -173,11 +173,14 @@ -and -not -name "Makefile.in" \ -and -not -name "config.h.in" ) {proj}_files := $(shell find {src_proj} \ - -name "*.[hc]" \ - -or -name "*.py" \ - -or -name "*.cpp" \ - -or -name "*.tpl" \ - -or -name "*.map") + \( \ + -name "*.[hc]" \ + -or -name "*.py" \ + -or -name "*.cpp" \ + -or -name "*.tpl" \ + -or -name "*.map" \ + \) \ + -and -not -name "config.h") .make.{proj}.clone: @echo -e "\n\n\n===== $@\n" -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/25737 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: I10d970f2cadacb5071dcde975c76b15404038a3c Gerrit-Change-Number: 25737 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211011/6499e64c/attachment.htm>