Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-10 19:58:19 +0200
committerErich Eckner <git@eckner.net>2022-12-08 12:57:22 +0100
commitb56e812899e5605954bf2da236ce8db6a231aebb (patch)
tree454e086da66e9603bf5e83c381365cd00a72305a
parent141eff4827bf2bc7c10f206ee8c34974d9bdb4af (diff)
pentium4 new
-rw-r--r--Makefile28
-rw-r--r--config/setarch-aliases.d/pentium41
2 files changed, 28 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1857844..e3593f7 100644
--- a/Makefile
+++ b/Makefile
@@ -15,18 +15,25 @@ MANS = $(addprefix $(BUILDDIR)/,$(patsubst %.asciidoc,%,$(wildcard doc/man/*.asc
GENERATED_CONFIGS = \
pacman-extra-i486.conf \
pacman-extra-i686.conf \
+ pacman-extra-pentium4.conf \
pacman-testing-i486.conf \
pacman-testing-i686.conf \
+ pacman-testing-pentium4.conf \
pacman-staging-i486.conf \
pacman-staging-i686.conf \
+ pacman-staging-pentium4.conf \
pacman-staging-with-build-support-i486.conf \
pacman-staging-with-build-support-i686.conf \
+ pacman-staging-with-build-support-pentium4.conf \
pacman-kde-unstable-i486.conf \
pacman-kde-unstable-i686.conf \
+ pacman-kde-unstable-pentium4.conf \
pacman-gnome-unstable-i486.conf \
pacman-gnome-unstable-i686.conf \
+ pacman-gnome-unstable-pentium4.conf \
makepkg-i486.conf \
- makepkg-i686.conf
+ makepkg-i686.conf \
+ makepkg-pentium4.conf
GENERATED_CONFIGS := $(addprefix $(BUILDDIR)/config/,$(GENERATED_CONFIGS))
COMMITPKG_LINKS = \
@@ -45,26 +52,32 @@ COMMITPKG_LINKS = \
ARCHBUILD_LINKS = \
extra-i486-build \
extra-i686-build \
+ extra-pentium4-build \
extra-x86_64-build \
extra-x86_64_v3-build \
testing-i486-build \
testing-i686-build \
+ testing-pentium4-build \
testing-x86_64-build \
testing-x86_64_v3-build \
staging-i486-build \
staging-i686-build \
+ staging-pentium4-build \
staging-x86_64-build \
staging-x86_64_v3-build \
staging-with-build-support-i486-build \
staging-with-build-support-i686-build \
+ staging-with-build-support-pentium4-build \
multilib-build \
multilib-testing-build \
multilib-staging-build \
kde-unstable-i486-build \
kde-unstable-i686-build \
+ kde-unstable-pentium4-build \
kde-unstable-x86_64-build \
gnome-unstable-i486-build \
gnome-unstable-i686-build \
+ gnome-unstable-pentium4-build \
gnome-unstable-x86_64-build
CROSSREPOMOVE_LINKS = \
@@ -111,6 +124,11 @@ $(BUILDDIR)/config/makepkg-i686.conf: config/makepkg/x86_64.conf
@mkdir -p $(dir $@)
@sed 's,\(["=]\)x86[-_]64\([-" ]\),\1i686\2,g' "$<" > "$@"
+$(BUILDDIR)/config/makepkg-pentium4.conf: $(BUILDDIR)/config/makepkg-i686.conf
+ @echo "GEN $(notdir $@)"
+ @mkdir -p $(dir $@)
+ @sed '/^CHOST=/ ! s,\(["=]\)i686\([-" ]\),\1pentium4\2,g' "$<" > "$@"
+
$(BUILDDIR)/config/pacman-%-i486.conf: config/pacman/%.conf
@echo "GEN $(notdir $@)"
@mkdir -p $(dir $@)
@@ -127,6 +145,14 @@ $(BUILDDIR)/config/pacman-%-i686.conf: config/pacman/%.conf
/^Architecture = / s/^.*$$/Architecture = i686/ \
" "$<" > "$@"
+$(BUILDDIR)/config/pacman-%-pentium4.conf: config/pacman/%.conf
+ @echo "GEN $(notdir $@)"
+ @mkdir -p $(dir $@)
+ @sed " \
+ s,/mirrorlist\$$,\032,; \
+ /^Architecture = / s/^.*$$/Architecture = pentium4/ \
+ " "$<" > "$@"
+
define buildInScript
$(1)/%: $(2)%.in $(LIBUTILS)
$$(GEN_MSG)
diff --git a/config/setarch-aliases.d/pentium4 b/config/setarch-aliases.d/pentium4
new file mode 100644
index 0000000..193dd70
--- /dev/null
+++ b/config/setarch-aliases.d/pentium4
@@ -0,0 +1 @@
+i686