summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-16 13:11:09 +0200
committerErich Eckner <git@eckner.net>2019-08-18 21:11:15 +0200
commitc7a8904fa332f54874f919366fda16464061bc34 (patch)
tree4fd592cd1fad1642553ac73d85fe3fdbd5b755ff
parentf83c96e5c1a8d759ef6e7fa9444ac4616b179244 (diff)
downloaddevtools-c7a8904fa332f54874f919366fda16464061bc34.tar.xz
generate archlinuxewe build commands and configs
-rw-r--r--Makefile36
1 files changed, 35 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bcf802..a1b98b4 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,10 @@ GENERATED_CONFIGFILES = \
pacman-gnome-unstable-i486.conf \
pacman-gnome-unstable-i686.conf \
pacman-gnome-unstable-pentium4.conf \
+ pacman-archlinuxewe-armv6h.conf \
+ pacman-archlinuxewe-i486.conf \
+ pacman-archlinuxewe-i686.conf \
+ pacman-archlinuxewe-pentium4.conf \
makepkg-armv6h.conf \
makepkg-i486.conf \
makepkg-i686.conf \
@@ -62,6 +66,7 @@ CONFIGFILES = \
pacman-multilib-staging.conf \
pacman-kde-unstable.conf \
pacman-gnome-unstable.conf \
+ pacman-archlinuxewe.conf \
$(GENERATED_CONFIGFILES)
COMMITPKG_LINKS = \
@@ -108,7 +113,12 @@ ARCHBUILD_LINKS = \
gnome-unstable-i486-build \
gnome-unstable-i686-build \
gnome-unstable-pentium4-build \
- gnome-unstable-x86_64-build
+ gnome-unstable-x86_64-build \
+ archlinuxewe-armv6h-build \
+ archlinuxewe-i486-build \
+ archlinuxewe-i686-build \
+ archlinuxewe-pentium4-build \
+ archlinuxewe-x86_64-build
CROSSREPOMOVE_LINKS = \
extra2community \
@@ -153,6 +163,30 @@ makepkg-pentium4.conf: makepkg-i686.conf
@echo "GEN $@"
@sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@"
+pacman-archlinuxewe-i486.conf: pacman-archlinuxewe.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = i486/; \
+ " "$<" > "$@"
+
+pacman-archlinuxewe-i686.conf: pacman-archlinuxewe.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = i686/; \
+ " "$<" > "$@"
+
+pacman-archlinuxewe-pentium4.conf: pacman-archlinuxewe.conf
+ @echo "GEN $@"
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /\[\(community-\)\?testing\]/{ N; s/#//g; }; \
+ /^Architecture = / s/^.*\$$/Architecture = pentium4/; \
+ " "$<" > "$@"
+
pacman-%-armv6h.conf: pacman-%.conf
@echo "GEN $@"
@sed " \