diff options
author | Erich Eckner <git@eckner.net> | 2019-07-16 13:11:09 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-12-08 12:57:22 +0100 |
commit | 11d60d726f9b1aa84883b557cf19800ac8f0dd61 (patch) | |
tree | c390916bc2b8bed6df160ea7b419d4d880154731 /Makefile | |
parent | b44a7b5a78315a6eea2a9cc1860e0d79a01b0ca9 (diff) | |
download | devtools-11d60d726f9b1aa84883b557cf19800ac8f0dd61.tar.xz |
generate archlinuxewe build commands and configs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 38 |
1 files changed, 37 insertions, 1 deletions
@@ -36,6 +36,10 @@ GENERATED_CONFIGS = \ 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 \ @@ -89,7 +93,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 \ @@ -156,6 +165,33 @@ $(BUILDDIR)/config/makepkg-pentium4.conf: $(BUILDDIR)/config/makepkg-i686.conf @mkdir -p $(dir $@) @sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@" +$(BUILDDIR)/config/pacman-archlinuxewe-i486.conf: config/pacman/archlinuxewe.conf + @echo "GEN $(notdir $@)" + @mkdir -p $(dir $@) + @sed " \ + s,/mirrorlist\$$,\032,; \ + /\[\(community-\)\?testing\]/{ N; s/#//g; }; \ + /^Architecture = / s/^.*\$$/Architecture = i486/; \ + " "$<" > "$@" + +$(BUILDDIR)/config/pacman-archlinuxewe-i686.conf: config/pacman/archlinuxewe.conf + @echo "GEN $(notdir $@)" + @mkdir -p $(dir $@) + @sed " \ + s,/mirrorlist\$$,\032,; \ + /\[\(community-\)\?testing\]/{ N; s/#//g; }; \ + /^Architecture = / s/^.*\$$/Architecture = i686/; \ + " "$<" > "$@" + +$(BUILDDIR)/config/pacman-archlinuxewe-pentium4.conf: config/pacman/archlinuxewe.conf + @echo "GEN $(notdir $@)" + @mkdir -p $(dir $@) + @sed " \ + s,/mirrorlist\$$,\032,; \ + /\[\(community-\)\?testing\]/{ N; s/#//g; }; \ + /^Architecture = / s/^.*\$$/Architecture = pentium4/; \ + " "$<" > "$@" + $(BUILDDIR)/config/pacman-%-armv6h.conf: config/pacman/%.conf @echo "GEN $(notdir $@)" @mkdir -p $(dir $@) |