From: Peter Korsgaard Date: Sun, 06 Jan 2013 15:26:04 +0100 Subject: [Buildroot] [PATCH 3/3] rpi-fw: New package In-Reply-To: <50E8E406.60407@je-eigen-domein.nl> (Floris Bos's message of "Sun, 06 Jan 2013 03:40:06 +0100") References: <0a82214a34f519691ff795260820907a7a8b4cfc.1357394983.git.maxime.hadjinlian@gmail.com> <50E8E406.60407@je-eigen-domein.nl> Message-ID: <87d2xigzgj.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Floris" == Floris Bos writes: Hi, Floris> Fails to install. Floris> You need to create the target/boot directory first. Floris> == Floris> /usr/bin/install -D -m 0644 Floris> /hdd/max/dev/tmp/buildroot/output/build/rpi-fw-76d0ac38f16b6343c6155c80db1e4758b3a5838a/boot/bootcode.bin Floris> /hdd/max/dev/tmp/buildroot/output/target/boot/ Floris> /usr/bin/install: target Floris> /hdd/max/dev/tmp/buildroot/output/target/boot/' is not a directory: No Floris> such file or directory Floris> make: *** Floris> [/hdd/max/dev/tmp/buildroot/output/build/rpi-fw-76d0ac38f16b6343c6155c80db1e4758b3a5838a/.stamp_target_installed] Floris> Error 1 Floris> == That's the point of using install -D (create dest dirs as needed), but you need to provide it with the destination file name as well - E.G $(TARGET_DIR)/boot/bootcode.bin Floris> But another question would be if bootloader files really should be Floris> installed under target. Floris> Keep in mind that the Raspberry Pi boot files are normally kept on a Floris> FAT partition seperate from the root file system. Indeed, it probably makes more sense to just put it in IMAGES_DIR instead. -- Bye, Peter Korsgaard