at91: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45806
This commit is contained in:
parent
d7f6b8e3be
commit
ba9f34a389
1 changed files with 3 additions and 2 deletions
|
@ -24,6 +24,7 @@ define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Prepare
|
define Image/Prepare
|
||||||
|
cp $(LINUX_DIR)/arch/arm/boot/Image $(KDIR)/Image
|
||||||
cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/zImage
|
cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/zImage
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -89,9 +90,9 @@ endef
|
||||||
|
|
||||||
define Image/BuildKernel
|
define Image/BuildKernel
|
||||||
mkimage -A arm -T kernel -C none -a 0x20008000 -e 0x20008000 -n linux-2.6 \
|
mkimage -A arm -T kernel -C none -a 0x20008000 -e 0x20008000 -n linux-2.6 \
|
||||||
-d $(LINUX_DIR)/arch/arm/boot/Image $(BIN_DIR)/uImage
|
-d $(KDIR)/Image $(BIN_DIR)/$(IMG_PREFIX)-uImage
|
||||||
if [ $(CONFIG_FLEXIBITY_ROOT) ]; then \
|
if [ $(CONFIG_FLEXIBITY_ROOT) ]; then \
|
||||||
$(INSTALL_BIN) $(BIN_DIR)/uImage $(TARGET_DIR)/uImage ; \
|
$(INSTALL_BIN) $(BIN_DIR)/$(IMG_PREFIX)-uImage $(TARGET_DIR)/uImage ; \
|
||||||
fi
|
fi
|
||||||
$(call Image/Build/Kernel/$(PROFILE))
|
$(call Image/Build/Kernel/$(PROFILE))
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue