Commit Graph

5 Commits

Author SHA1 Message Date
Oliver Smith 0c04a7e03f move-asn1-header-files: error for wrong asn1c
Add a helpful error message if the user doesn't have the expected asn1c
version installed. Link to a new wiki page that explains which branch
one needs to build.

Without this patch, it just complains that HNBAP_Criticality.h can't be
moved.

Change-Id: I11980bf868055bccc05c5338ea330b70022cd874
2022-11-11 17:40:13 +01:00
Pau Espin 44481e435e move-asn1-header-files.sh: Replace original asn file path in generated asn1 header files
This makes builds reproducible and keep the existing relative path.
This should have been done in a previous commit changing the paths being
passed to asn1c to be absolute (top_srcdir).

Fixes: f67803684f
Change-Id: I19537f136cbb654950172ee532027920d353a556
2021-10-22 23:15:31 +02:00
Neels Hofmeyr c23146e7f1 make regen: ~8x faster: use sed script instead of single invocations
Change-Id: Ib9b3f4fc524bf3ae7cc921b0340adec113529d4d
2016-07-12 00:44:18 +02:00
Neels Hofmeyr e8b1465ffe move asn1 headers to include/ dir (3/5)
Enable header move. Don't actually move yet.
2016-01-04 18:11:19 +01:00
Neels Hofmeyr 5aabad1380 move asn1 headers to include/ dir (1/5)
Add move-asn1-header-files.sh to do header file moving and sed'ding the include
statements. The file moving part is disabled until a later commit, to make
reading the diffs easier.

Call shell script from src/{hnbap,ranap,rua}/Makefile.am regen targets.

Add convenience regen target to src/Makefile.am, calling regen in the three subdirs.

This change is split over several commits to ease diff reading. Subsequent
commits show, in steps:
- the "unmoved" effect of sed,
- header moves,
- adjust build system and include statements.
2016-01-04 18:09:37 +01:00