ixp4xx: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45826
This commit is contained in:
John Crispin 2015-05-29 12:20:39 +00:00
parent 0d7666fd73
commit 590be1fd87
2 changed files with 7 additions and 2 deletions

View file

@ -6,6 +6,7 @@
# #
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=apex PKG_NAME:=apex
PKG_VERSION:=1.6.9 PKG_VERSION:=1.6.9
@ -54,4 +55,8 @@ define Package/apex/install
$(CP) $(PKG_BUILD_DIR)/out/*.bin $(1)/ $(CP) $(PKG_BUILD_DIR)/out/*.bin $(1)/
endef endef
define Build/InstallDev
$(CP) $(PKG_BUILD_DIR)/out/*.bin $(KERNEL_BUILD_DIR)
endef
$(eval $(call BuildPackage,apex)) $(eval $(call BuildPackage,apex))

View file

@ -10,12 +10,12 @@ include $(INCLUDE_DIR)/image.mk
ifdef CONFIG_PACKAGE_apex ifdef CONFIG_PACKAGE_apex
define Image/Build/Linksys define Image/Build/Linksys
BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \ BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
-L $(BIN_DIR)/apex/apex-$(2)-armeb.bin \ -L $(KDIR)/apex-$(2)-armeb.bin \
-k $(BIN_DIR)/$(IMG_PREFIX)-$(2)-zImage \ -k $(BIN_DIR)/$(IMG_PREFIX)-$(2)-zImage \
-r rootfs:$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \ -r rootfs:$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
-p -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).bin -p -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1).bin
BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \ BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
-F -L $(BIN_DIR)/apex/apex-$(2)-16mb-armeb.bin \ -F -L $(KDIR)/apex-$(2)-16mb-armeb.bin \
-k $(BIN_DIR)/$(IMG_PREFIX)-$(2)-zImage \ -k $(BIN_DIR)/$(IMG_PREFIX)-$(2)-zImage \
-r rootfs:$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \ -r rootfs:$(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
-p -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1)-16mb.bin -p -o $(BIN_DIR)/$(IMG_PREFIX)-$(2)-$(1)-16mb.bin