Michael Forney
8722291dd1
libnl: Fix some portability issues
2026-04-03 03:49:44 -07:00
Michael Forney
d4297a13c8
Use -isystem to include library headers
...
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.
To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney
f0fb0e5177
Start to support configurable prefix
2020-05-25 21:11:21 -07:00
Michael Forney
a008fe2867
libnl: Fix linux-headers dependency
2020-03-01 19:24:52 -08:00
Michael Forney
aea11e0e4a
Use our own linux-headers
2020-02-20 20:10:31 -08:00
Michael Forney
4a7996e2c9
libnl: More portability fixes
2020-01-30 14:17:11 -08:00
Michael Forney
051963c7fe
Add support for building multiple configurations
...
Now, you can build in separate directories per configuration:
mkdir foo
(cd foo && ../setup.lua)
samu -C foo
2020-01-29 22:14:33 -08:00
Michael Forney
9b268df2f7
libnl: Update to 3.5.0
2019-10-04 18:34:31 -07:00
Michael Forney
16e4b11f35
libnl: Fix some portability issues
2019-08-12 02:24:38 +00:00
Michael Forney
4332740046
Rename rev to ver, and keep track of package versions as well
2019-03-19 00:14:12 -07:00
Michael Forney
f377442fbc
Revert accidentally updated submodules in b99ef6bfc5
...
`git commit -a` with ignored submodules strikes again. I really
should report a bug about this.
2018-03-16 10:16:40 -07:00
Michael Forney
b99ef6bfc5
libdrm: Check if config.video_drivers is set
2018-03-10 19:08:35 -08:00
Michael Forney
51b9dba9e6
libnl: Update to 3.4.0
2017-10-13 01:29:02 -07:00
Michael Forney
ba94a8513d
Rewrite ninja generation scripts in Lua
2017-09-25 19:23:06 -07:00
Michael Forney
6fa5f88e60
Don't use -isystem
...
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
2017-08-19 19:07:18 -07:00
Michael Forney
2c56f5451f
libnl: Update to 3.3.0
2017-06-05 21:45:55 -07:00
Michael Forney
c385a06150
libnl: Update to 3.2.29
2017-01-01 16:48:53 -08:00
Michael Forney
293f5a93b7
Move to flat package hierarchy
...
Note to self: never try to move submodules again
To migrate your existing submodules (more or less):
set -x
set -e
mkdir .git/modules/pkg
for old in */*/src ; do
new="pkg/${old#*/}"
if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
continue
fi
git -C ".git/modules/$old" config core.worktree "../../../../../$new"
rmdir "$new"
mv "$old" "$new"
sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
mv "$new/.git.tmp" "$new/.git"
mkdir ".git/modules/${new%/src}"
mv ".git/modules/$old" ".git/modules/$new"
rm "${old%/src}"/*.ninja
mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
rmdir "${old%/src}" || true
done
sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00