generic: rtl8366: enable ports only after VLAN configuration is done
[openwrt.git] / target / linux / adm8668 / image / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/image.mk
9
10 define Build/Clean
11 $(MAKE) -C lzma-loader clean
12 endef
13
14 define Image/Prepare
15 cat $(KDIR)/vmlinux | $(STAGING_DIR_HOST)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
16 $(MAKE) -C lzma-loader \
17 KDIR="$(KDIR)" \
18 clean compile
19 endef
20
21 define Image/Build
22 ./my-mkimage $(KDIR)/loader.bin $(KDIR)/root.squashfs \
23 $(BIN_DIR)/$(IMG_PREFIX)-$(1).bin
24 endef
25
26 $(eval $(call BuildImage))
This page took 0.039968 seconds and 5 git commands to generate.