|
@@ -9,21 +9,22 @@ include $(INCLUDE_DIR)/image.mk
|
|
|
|
|
|
|
|
define Image/Build/slug
|
|
define Image/Build/slug
|
|
|
BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
|
|
BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
|
|
|
- -L $(KDIR)/apex-nslu2-armeb.bin \
|
|
|
|
|
|
|
+ -L $(BIN_DIR)/apex-nslu2-armeb.bin \
|
|
|
-k $(BIN_DIR)/openwrt-nslu2-zImage \
|
|
-k $(BIN_DIR)/openwrt-nslu2-zImage \
|
|
|
-r rootfs:$(BIN_DIR)/openwrt-$(BOARD)-$(1).img \
|
|
-r rootfs:$(BIN_DIR)/openwrt-$(BOARD)-$(1).img \
|
|
|
-p -o $(BIN_DIR)/openwrt-nslu2-$(1).bin
|
|
-p -o $(BIN_DIR)/openwrt-nslu2-$(1).bin
|
|
|
BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
|
|
BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/slugimage.pl \
|
|
|
- -F -L $(KDIR)/apex-nslu2-16mb-armeb.bin \
|
|
|
|
|
|
|
+ -F -L $(BIN_DIR)/apex-nslu2-16mb-armeb.bin \
|
|
|
-k $(BIN_DIR)/openwrt-nslu2-zImage \
|
|
-k $(BIN_DIR)/openwrt-nslu2-zImage \
|
|
|
-r rootfs:$(BIN_DIR)/openwrt-$(BOARD)-$(1).img \
|
|
-r rootfs:$(BIN_DIR)/openwrt-$(BOARD)-$(1).img \
|
|
|
-p -o $(BIN_DIR)/openwrt-nslu2-$(1)-16mb.bin
|
|
-p -o $(BIN_DIR)/openwrt-nslu2-$(1)-16mb.bin
|
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
define Build/Compile
|
|
|
|
|
+ mkdir -p $(BIN_DIR)
|
|
|
$(MAKE) -C apex \
|
|
$(MAKE) -C apex \
|
|
|
BUILD_DIR="$(KDIR)" \
|
|
BUILD_DIR="$(KDIR)" \
|
|
|
- TARGET="$(KDIR)" \
|
|
|
|
|
|
|
+ TARGET="$(BIN_DIR)" \
|
|
|
compile
|
|
compile
|
|
|
endef
|
|
endef
|
|
|
|
|
|