mkimage-profiles/lib
Michael Shigorin 3c26cc869d initial native ARM support
The only thing to be fixed was setarch(8) symlinks assumption
that is correct for x86 but not for ARM.

There's also some hasher(7) setup to be done:

  mkdir -p ~/.hasher
  echo >> ~/.hasher/config <<-EOF
  def_target=arm
  #cache_dir=$HOME/tmp	# depends on RAM/storage configuration
  EOF

...and of course apt(8) should be properly set up too.

An example PoC build on a CM-A510 board (tmpfs):

  $ make BRANDING=altlinux-centaurus ve/bare.tar.gz
  ** ARCH: arm
  18:10:45 initializing BUILDDIR: build/
  18:10:45 preparing distro config: build/distcfg.mk
  18:10:46 starting image build: tail -f build/build.log
  18:14:49 done (4:02)
  ** image: $TMP/out/bare-20120706-arm.tar.gz [23M]
2012-07-09 21:32:54 +03:00
..
build.mk initial native ARM support 2012-07-09 21:32:54 +03:00
check.mk lib/check.mk: catch missing READMEs for features 2012-05-16 13:48:12 +03:00
clean.mk initial frontend support 2012-05-14 20:48:21 +03:00
common.mk lib/common.mk: avoid using uninitialized variables 2012-05-26 14:08:19 +03:00
distro.mk lib/distro.mk: tiny ISO info tweak 2012-05-10 21:19:32 +03:00
functions.mk lib/functions.mk: initial xport() 2012-07-02 16:14:34 +03:00
help.mk initial build-vm feature 2012-06-18 21:56:46 +03:00
kernel.mk lib/kernel.mk: single byte bugfix 2012-07-06 18:52:46 +03:00
log.mk reports.mk: added reports/scripts 2012-04-23 23:10:29 +03:00
profile.mk Add LIBDIR variable. 2012-06-21 17:11:02 +04:00
README docs: minor updates 2012-01-02 21:01:09 +02:00
report.mk initial target tracing support and reporting 2012-03-19 19:23:38 +02:00
sugar.mk plant SHELL beacons into all config-forming rules 2012-03-19 19:23:38 +02:00
ve.mk factor out openssh packages 2012-06-25 19:29:38 +03:00
vm.mk initial conf.d/vm.mk 2012-06-25 19:29:38 +03:00

Этот каталог содержит вспомогательные makefiles,
обеспечивающие основную функциональность создания
конфигурации образа и генерации соответствующего
профиля для сборки; см. тж. ../conf.d/.

Следует помнить, что будучи включаемыми в ../main.mk,
они работают в каталоге верхнего уровня.