Neels Hofmeyr
0ec459258a
don't trigger rebuild on config.h.in
...
Lately I'm seeing unecessary rebuilds because config.h.in is newer than the
./configure file. The rule to trigger on *.in files is intended for "manual"
.in files, not those from autoconf/automake. Exclude config.h.in.
2019-07-12 01:22:50 +02:00
Neels Hofmeyr
44543a98b0
gen_makefile: fix deps: add *.map (for e.g. libosmogsm.map)
...
Change-Id: I7bc2b5889213a1c635d039d4c6b577f6b4766d7f
2019-03-10 21:08:46 +01:00
Neels Hofmeyr
a4fefee68d
gen_makefile: add *.tpl to dependency file list
...
libosmocore has some *.tpl files to generate source files. Add *.tpl to
dependencies.
Change-Id: Id12fa34e58ef223820528c47e23f9d4bdb2dd3bc
2019-02-12 15:08:30 +01:00
Neels Hofmeyr
6257d9ec79
gen_makefile: fix dependency file list
...
The configure step naturally depends on Makefile.am and *.in files. However,
the automake process also generates Makefile.in files: exclude those from *.in.
This fixes spurious unnecessary rebuilds: especially when libosmocore had
modifications, it often rebuilt *twice* after this (causing all of the other
source trees to rebuild as well).
Change-Id: Ia6f48ac9a8b300440d23c9b495fb39b5e40b59d8
2019-02-12 15:08:22 +01:00
Oliver Smith
5c882f66e9
gen_makefile.py: detect changes in cpp files
...
Properly rebuild when cpp files (e.g. from osmo-trx) have been changed.
Change-Id: I9382d984fa1988eefbb6be3e45d88b2f1f5b598a
2018-10-31 14:13:34 +01:00
Neels Hofmeyr
a007eaa405
gen_makefile: add ALL config opts keyword
2018-09-04 14:37:38 +02:00
Neels Hofmeyr
6d16ae9bad
gen_makefile: mark project name as phony target
2018-09-04 14:37:38 +02:00
Neels Hofmeyr
f6078c49c0
gen_makefile: add --no-make-check
2018-09-04 14:37:38 +02:00
Neels Hofmeyr
7bd5c31c4e
sync before touching .make.* files
2018-07-26 16:43:01 +02:00
Neels Hofmeyr
2e65707b57
gen_makefile.py: libsmpp34 can build in parallel now
2018-05-29 12:24:34 +02:00
Neels Hofmeyr
1fa9b2989e
rm .version with -f
2018-04-23 17:04:25 +02:00
Neels Hofmeyr
4d38c1e77b
add reinstall
2018-04-23 17:04:15 +02:00
Neels Hofmeyr
29fde6ff8e
gen_makefile: accomodate openbsc's extra subdir
2018-04-01 15:57:02 +02:00
Neels Hofmeyr
972c2945e2
gen_makefile: fix empty push-url for 'make regen'
2018-03-16 03:49:58 +01:00
Neels Hofmeyr
1b0d34f77a
produced Makfile: add all_debug target to see rebuild reasons
2018-03-16 03:46:08 +01:00
Neels Hofmeyr
28d4be5520
gen_makefile: add --push-url option
2018-03-16 03:44:07 +01:00
Neels Hofmeyr
2535a26046
gen_makefile: add example to end of --help
2018-01-16 16:34:32 +01:00
Neels Hofmeyr
367cb97e2a
gen_makefile: be less aggressive on rebuilding everything on edits
...
Change-Id: Ie740eee5374e258e721da109eca8f0444eb3ebc3
2017-12-15 04:01:13 +01:00
Neels Hofmeyr
461c3bdc1d
call 'sudo ldconfig' by default, allow configuring 'sudo make install'
...
Add options to decide whether ldconfig should be called or not, whether with
sudo or not, and also whether to call 'make install' with sudo or not.
Change-Id: I0771c78159edfa312aa320f18d9f6346c3b8adba
2017-12-06 00:32:15 +01:00
Neels Hofmeyr
bffdc30b74
set default URL to git.osmocom.org
...
Change-Id: If0d46feb7f76d59c4e37fa63a894081f5f9210ad
2017-12-06 00:31:49 +01:00
Neels Hofmeyr
7f586cf5d3
drop .version on autoconf step
...
Change-Id: I25a73ed5537d025607cb7a1bedf0e50fd1c2a654
2017-11-14 09:43:27 +01:00
Neels Hofmeyr
1c1e4d2b75
gen_makefile: improve detect-edits dependency
...
Put the list of files to monitor directly in the makefile dependencies instead.
Now it finally works for 'make -j'.
Change-Id: Ie9b8c52bffcced4c8e482b43f6f9b5fdd93f61aa
2017-09-11 05:24:45 +02:00
Neels Hofmeyr
3f93412537
gen_makefile: provide project target by name
...
Change-Id: Ic09c11e5f53004e31910adeffc4d021ea5a7163e
2017-08-29 13:49:07 +02:00
Neels Hofmeyr
277f479b17
gen_makefile: provide overall 'clean' target
...
Change-Id: I746234eb458da41b86fe9571915a2e942daa26ee
2017-08-29 13:49:07 +02:00
Neels Hofmeyr
2509d09ddf
gen_makefile: tweak edit detector
...
Change-Id: I6a1753e24b29226894fdfcac8132910501a633b8
2017-08-28 15:17:58 +02:00
Neels Hofmeyr
d4d8848dcf
cosmetic: gen_makefile: place vim indenting rule comment
2017-08-22 19:27:28 +02:00
Neels Hofmeyr
450dac79c3
gen_makefile: allow combining several .opts files
2017-08-22 19:27:08 +02:00
Neels Hofmeyr
20e169f4b5
gen_makefile: set 'clone' as dep for 'all', to always clone first
2017-08-22 17:31:35 +02:00
Neels Hofmeyr
e274d351f5
gen_makefile: add 'clone' target to first clone all repositries
2017-08-22 17:31:03 +02:00
Neels Hofmeyr
0a1bdfff8f
initial gen_makefile.py with config
2017-08-22 15:25:13 +02:00