Failure Building Installer

Skip to first unread message

Oct 9, 2012, 4:15:52 PM10/9/12
I originally posted this in the discuss group, but did not receive much attention, so I am re-posting here.

We are trying to build the "happy installer" uImage from source, and are unable to do so.  Our host system is Ubuntu 10.04, GNU Make 3.82.  We execute the following commands from inside the 0xdroid-kernel repository:

$ git checkout -b installer origin/installer

$ make ARCH=arm 0xdroid_installer_defconfig

$ make -j4 ARCH=arm CROSS_COMPILE=../beagle-eclair/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- uImage

The first two commands run successfully without issue.
However, the result of the third is the build runs for approximately 5 seconds, and the the following error:

/home/user/0xdroid-kernel/usr/Makefile:50: *** target pattern contains no `%'.  Stop.
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs....

What are the host system requirements needed in order to build the installer from source?  We need to customize the display graphics used during the install process.

Below is the full output from the make command (it is not long, the build doesn't take long to fail).

~/0xdroid-kernel $ sudo make ARCH=arm CROSS_COMPILE=../toolchain/arm-eabi-4.4.0/bin/arm-eabi- uImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CC      kernel/bounds.s
  GEN     include/linux/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1542: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:1962: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  CHK     include/linux/compile.h
  SKIPPED include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_initrd.o
  LD      init/mounts.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  LD      init/built-in.o
/home/user/0xdroid-kernel/usr/Makefile:50: *** target pattern contains no `%'.  Stop.
make: *** [usr] Error 2

Below is a section of the Makefile it is complaining about, with line numbers added, so you can see line 50:

  48 targets := initramfs_data.cpio.gz initramfs_data.cpio.bz2 initramfs_data.cpio.lzma initramfs_data.cpio
  49 # do not try to update files included in initramfs
  50 $(deps_initramfs): ;
  52 $(deps_initramfs): klibcdirs

Any assistance is appreciated.
Dave Smith
Reply all
Reply to author
0 new messages