mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 19:49:54 +02:00
[at91] Ensure that the bin directory exists before copy the files
Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31370 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a7429453a2
commit
4280ba74a9
@ -21,6 +21,7 @@ define Image/Prepare
|
||||
endef
|
||||
|
||||
define Image/BuildKernel
|
||||
mkdir -p $(BIN_DIR)
|
||||
mkimage -A arm -T kernel -C none -a 0x20008000 -e 0x20008000 -n linux-2.6 \
|
||||
-d $(LINUX_DIR)/arch/arm/boot/Image $(BIN_DIR)/$(IMG_PREFIX)-uImage
|
||||
if [ $(CONFIG_FLEXIBITY_ROOT) ]; then \
|
||||
@ -30,6 +31,7 @@ endef
|
||||
|
||||
define Image/Build
|
||||
$(call Image/Build/$(1),$(1))
|
||||
mkdir -p $(BIN_DIR)
|
||||
cp $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-root.$(1)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user