diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 808e6bb..4ff89e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,7 +12,8 @@ pkg_gdata = \ pkg_data_in = $(pkg_gdata:=.in) pkg_gconfig = \ - platform + platform \ + $(if $(CANONTARGETCPU32), platform32, ) pkg_scripts = \ brp-compress \ @@ -41,8 +42,6 @@ pkg_scripts_in = $(pkg_gscripts:=.in) BUILT_SOURCES = macros-perarch make_macrosfiles.sh rpmgenplatform -HOST_CPU32_MACRO = $(if $(CANONTARGETCPU32),%_host_cpu32 $(CANONTARGETCPU32),\#%_host_cpu32) - pkglibdir = @RPMVENDORDIR@ noinst_PROGRAMS = rpmeval @@ -81,7 +80,6 @@ edit = sed \ -e 's,@RPMSYSCONFDIR\@,$(RPMSYSCONFDIR),g'\ -e 's,@RPMOS\@,$(RPMOS),g' \ -e 's,@CANONTARGETCPU\@,$(CANONTARGETCPU),g' \ - -e 's,@HOST_CPU32_MACRO\@,$(HOST_CPU32_MACRO),g' \ -e 's,@RPMALLARCH\@,$(RPMALLARCH),g' %: %.in Makefile @@ -94,6 +92,9 @@ edit = sed \ platform: rpmgenplatform Makefile perl rpmgenplatform $(CANONTARGETCPU) > $@ +platform32: rpmgenplatform Makefile + perl rpmgenplatform $(CANONTARGETCPU32) > $@ + install-data-local: $(macrosfiles) $(pkg_gconfig) for i in $(RPMALLARCH); do \ $(mkinstalldirs) $(DESTDIR)$(RPMVENDORDIR)/$${i}-$(RPMOS); \ |