Alexey Neyman
3f1532713e
Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
...
Also, fix manage-packages.sh after autotoolization.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-12 08:17:05 -07:00
Alexey Neyman
1b18fd6bdd
Merge pull request #924 from tofutim/feature/fixchecksamps
...
fix deprecated diff option
2018-04-10 21:29:29 -07:00
Alexey Neyman
ffc638142d
Merge pull request #937 from stilor/build-autotoolize
...
Autotoolize crosstool-ng
2018-04-10 21:27:07 -07:00
Alexey Neyman
c4608f07f7
Only attempt to chmod bash completion script
...
... if it has been installed.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-08 20:42:07 -07:00
Alexey Neyman
4e7d0906c1
Support out-of-tree local builds
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 14:39:56 -07:00
Alexey Neyman
7eb903667b
Lintian warnings cleanup
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
fda857aeb8
Debian: no longer need to install completion separately
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
20e8402779
Compress the manpage
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
b670aaf1ad
Install bash completion into new location
...
/share/bash-completion/completions rather than /etc/bash_completion.d
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
970811a1c5
Conditionally install bash completion
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
bb6c97551f
User manual installation
...
... when running from a release tarball.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
56d785bd00
Docs installation
...
- Move downloading the pages from a website to a separate script, invoke
as dist hook
- Install manpage
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
d6f5c308f9
No need for overriding MAKELEVEL anymore
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
355f6f03fb
Cannot ignore 'make install' with automake
...
Automake does not allow us to place the hooks before its generated actions,
and does not allow us to check MAKECMDGOALS, and does not support a mechanism
for disabling make install (such as noinst_SUBDIRS, requested a few times
on automake mailing list). The only way I could preserve the current behavior
is to have a GNUmakefile wrapper that will convert MAKECMDGOAL into a variable
unknown to automake - which seems too convoluted a solution for the problem
being solved.
Hence the approach is to not override anything for --enable-local. It is now
fully handled by selecting different values for CT_xxx_DIR in ct-ng.in; but
at the build-system level, all the variables remain the same. We just don't
support 'make install' in that case anymore; but the ct-ng in the working
copy can be used after a regular 'make' (or 'make all').
Help message for --enable-local updated accordingly.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
f45e29c5ca
Restore --enable-local use
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
bc542408ca
config.sub/config.guess must either be executable
...
or be run through shell
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
5159cd7bc0
Adjust the paths to match new stuff location
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
5b95b81ea9
Kill gperf vestiges
...
Generate paths.sh by configure, do away with paths.mk.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
0dc8565c4f
Merge steps.mk into ct-ng
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
35b830b552
Ignore/modify the list of installed files to match
...
what was installed before.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9dc94f3662
Install "pure data" directories
...
... and update .gitignore. Survives 'make distcheck'.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
69df9ae9dd
Remove the need for configure substitutions in scripts
...
... so that scripts/ directory can be installed verbatim.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
dbe3877285
Install ct-ng
...
Also, move kconfig.mk into the main driver - we'd want kconfig to be a sub-package
so there's no sense in writing the installation framework for the ct-ng-specific
fragment in an otherwise independent directory.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
d9d4d09026
Enable mconf build
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9a4e17cf9b
Add nconf build
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
66821508f4
Fix install --strip-program check after merge
...
Also, fix the use of AC_CACHE_CHECK in stat format checker.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
7655fc2a3c
Cleanup after rebase on master:
...
gperf detection macros no longer needed, gperf is not used anymore.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9238b58721
WIP: autotoolization
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
576dcc3fee
Remove special handling of dpkg-buildflags
...
Instead, just honor CFLAGS/CPPFLAGS/LDFLAGS as they're passed down from
configure. This brings the build process in compliance with the
recommended practices.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
d401afbdda
Get rid of sub{lib,doc}dir
...
They don't make sense - using same ct-ng won't work with different versions,
so they cannot coexist in the same prefix.
Also localize other configure variables so that their usage is easier to track.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
1ce2eab963
Simplify the macro for checking stat flavor a bit
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
0bcb67fa52
Use autoconfig-archve/automake tests
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
896bc2d173
Split local helper macros into separate m4's
...
... which are then picked up via aclocal.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
7c34226759
Merge pull request #935 from cpackham/check-configure
...
Makefile.in: check for configure being up to date
2018-03-31 11:38:29 -07:00
Chris Packham
ff04c98b64
Makefile.in: check for configure being up to date
...
Fixes #934
Add a rule that errors out with a message if configure.ac is newer than
configure. This should catch times where someone is building from the
repo without running bootstrap.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2018-03-29 15:23:25 +13:00
Tim Uy
b94dfcd59f
fix deprecated diff option
2018-02-28 08:15:10 -08:00
Alexey Neyman
aca85cbb3d
Merge pull request #915 from stilor/source-fails-on-custom-pkg
...
Avoid calling CT_Abort from CT_Mirrors
2018-02-15 22:48:25 -08:00
Alexey Neyman
89181ae277
Avoid calling CT_Abort from CT_Mirrors
...
... see the comment for the reason. Defer aborting until the result of
CT_Mirrors is actually used (if it is used).
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-15 22:45:46 -08:00
Alexey Neyman
85b86d829a
Merge pull request #912 from M1cha/pr/limits_h_test
...
cc/gcc: use correct sysroot arg for do_gcc_core_backend
2018-02-15 20:17:27 -08:00
Alexey Neyman
ead247591d
Merge pull request #914 from stilor/msp430-fix
...
Backport GCC fix for partial int modes
2018-02-15 09:15:47 -08:00
Alexey Neyman
b2af5df5fc
Backport GCC fix for partial int modes
...
... from trunk to GCC7/GCC6/GCC5.
Fixes #742 .
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-15 09:15:00 -08:00
M1cha
ea702af5c3
cc/gcc: use correct sysroot arg for do_gcc_core_backend
...
This fixes gccs LIMITS_H_TEST detection for baremetal targets
so limits.h will be installed correctly.
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
2018-02-12 07:45:54 +01:00
Alexey Neyman
f97b3e38ee
Merge pull request #911 from stilor/uclibc-no-name-to-handle-at
...
uClibc-ng does not implement name_to_handle_at
2018-02-11 12:36:10 -08:00
Alexey Neyman
0a7ce2bed4
uClibc-ng does not implement name_to_handle_at
...
... so don't declare it, it confuses (at least) eudev's configure.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-11 12:18:16 -08:00
Alexey Neyman
9e8a2b295d
Merge pull request #910 from stilor/uclibc-no-rpc
...
uClibc-ng: configurability enhancements
2018-02-10 15:04:35 -08:00
Alexey Neyman
a20c29dcef
Make libiconv an option in the menu config
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10 14:51:45 -08:00
Alexey Neyman
89fdeb9af2
uClibc-ng retired RPC support as of 1.0.23
...
... make the corresponding option conditional.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-10 12:11:14 -08:00
Alexey Neyman
a3e1adbe71
Merge pull request #909 from stilor/make-defconfig-phony
...
Make defconfig (and a bunch of other targets) phony
2018-02-09 22:44:37 -08:00
Alexey Neyman
a624244b15
Make defconfig (and a bunch of other targets) phony
...
Otherwise, a file named `defconfig` (which is, ironically, the default name
for the default config expected by this very makefile) prevents the defconfig
target from being run.
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-02-09 22:38:37 -08:00
Alexey Neyman
04d910b826
Merge pull request #907 from bhundven/update_kconfig_4_15
...
Sync kconfig files with upstream 4.15
2018-02-04 23:26:28 -08:00