move target/linux/image to target/image

SVN-Revision: 4040
master
Felix Fietkau 19 years ago
parent 98cca36b43
commit b0cf6af7c2
  1. 23
      openwrt/include/target.mk
  2. 13
      openwrt/target/Makefile
  3. 0
      openwrt/target/image/ar7/Makefile
  4. 0
      openwrt/target/image/ar7/sercomm/adam2.bin
  5. 0
      openwrt/target/image/ar7/sercomm/dg834
  6. 0
      openwrt/target/image/ar7/sercomm/jdr454wb
  7. 0
      openwrt/target/image/ar7/src/LzmaDecode.c
  8. 0
      openwrt/target/image/ar7/src/LzmaDecode.h
  9. 0
      openwrt/target/image/ar7/src/gzip.h
  10. 0
      openwrt/target/image/ar7/src/ld.script.in
  11. 0
      openwrt/target/image/ar7/src/loader.c
  12. 0
      openwrt/target/image/ar7/src/srec2bin.c
  13. 0
      openwrt/target/image/ar7/src/zimage.script.in
  14. 0
      openwrt/target/image/aruba/Makefile
  15. 0
      openwrt/target/image/aruba/addVersion
  16. 0
      openwrt/target/image/aruba/version
  17. 0
      openwrt/target/image/au1000/Makefile
  18. 0
      openwrt/target/image/brcm/Makefile
  19. 0
      openwrt/target/image/brcm/lzma-loader/Makefile
  20. 0
      openwrt/target/image/brcm/lzma-loader/src/LzmaDecode.c
  21. 0
      openwrt/target/image/brcm/lzma-loader/src/LzmaDecode.h
  22. 0
      openwrt/target/image/brcm/lzma-loader/src/Makefile
  23. 0
      openwrt/target/image/brcm/lzma-loader/src/README
  24. 0
      openwrt/target/image/brcm/lzma-loader/src/decompress.c
  25. 0
      openwrt/target/image/brcm/lzma-loader/src/decompress.lds.in
  26. 0
      openwrt/target/image/brcm/lzma-loader/src/head.S
  27. 0
      openwrt/target/image/brcm/lzma-loader/src/loader.lds.in
  28. 0
      openwrt/target/image/generic/Makefile
  29. 0
      openwrt/target/image/generic/lzma-loader/Makefile
  30. 0
      openwrt/target/image/generic/lzma-loader/src/LzmaDecode.c
  31. 0
      openwrt/target/image/generic/lzma-loader/src/LzmaDecode.h
  32. 0
      openwrt/target/image/generic/lzma-loader/src/Makefile
  33. 0
      openwrt/target/image/generic/lzma-loader/src/decompress.c
  34. 0
      openwrt/target/image/generic/lzma-loader/src/lzma-copy.lds.in
  35. 0
      openwrt/target/image/generic/lzma-loader/src/lzma.lds.in
  36. 0
      openwrt/target/image/generic/lzma-loader/src/print.c
  37. 0
      openwrt/target/image/generic/lzma-loader/src/print.h
  38. 0
      openwrt/target/image/generic/lzma-loader/src/printf.c
  39. 0
      openwrt/target/image/generic/lzma-loader/src/printf.h
  40. 0
      openwrt/target/image/generic/lzma-loader/src/start.S
  41. 0
      openwrt/target/image/generic/lzma-loader/src/uart16550.c
  42. 0
      openwrt/target/image/generic/lzma-loader/src/uart16550.h
  43. 0
      openwrt/target/image/rb532/Makefile
  44. 0
      openwrt/target/image/x86/Makefile
  45. 0
      openwrt/target/image/xscale/Makefile
  46. 31
      openwrt/target/linux/Makefile

@ -0,0 +1,23 @@
define kernel_template
ifeq ($(CONFIG_LINUX_$(3)),y)
KERNEL:=$(1)
BOARD:=$(2)
endif
endef
$(eval $(call kernel_template,2.4,brcm,2_4_BRCM))
$(eval $(call kernel_template,2.4,ar7,2_4_AR7))
$(eval $(call kernel_template,2.4,x86,2_4_X86))
$(eval $(call kernel_template,2.6,brcm,2_6_BRCM))
$(eval $(call kernel_template,2.6,rb532,2_6_RB532))
$(eval $(call kernel_template,2.6,x86,2_6_X86))
$(eval $(call kernel_template,2.4,ar531x,2_4_AR531X))
$(eval $(call kernel_template,2.6,aruba,2_6_ARUBA))
$(eval $(call kernel_template,2.6,au1000,2_6_AU1000))
$(eval $(call kernel_template,2.6,xscale,2_6_XSCALE))
$(eval $(call kernel_template,2.6,sibyte,2_6_SIBYTE))
export BOARD
export KERNEL

@ -1,4 +1,5 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/target.mk
all: install
@ -11,15 +12,23 @@ TARGETS-$(CONFIG_SDK) += sdk
linux-compile: utils-install
linux-install: $(BIN_DIR)
sdk-compile: linux-install
image_install: linux-install
download: $(patsubst %,%-source,$(TARGETS-y))
prepare: linux-prepare
compile: linux-compile
install: image_clean $(patsubst %,%-install,$(TARGETS-y))
compile: linux-compile image_compile
install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install
clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean
image_clean: FORCE
$(MAKE) -C image/$(BOARD) clean
rm -f $(BIN_DIR)/openwrt-*
image_compile: FORCE
$(MAKE) -C image/$(BOARD) compile
image_install: image_compile
$(MAKE) -C image/$(BOARD) install
%-clean: FORCE
$(MAKE) -C $(patsubst %-clean,%,$@) clean

@ -1,33 +1,8 @@
include $(TOPDIR)/rules.mk
PKG_OS:=$(shell uname -s)
PKG_CPU:=$(shell uname -m)
define kernel_template
ifeq ($(CONFIG_LINUX_$(3)),y)
KERNEL:=$(1)
BOARD:=$(2)
endif
endef
$(eval $(call kernel_template,2.4,brcm,2_4_BRCM))
$(eval $(call kernel_template,2.4,ar7,2_4_AR7))
$(eval $(call kernel_template,2.4,x86,2_4_X86))
$(eval $(call kernel_template,2.6,brcm,2_6_BRCM))
$(eval $(call kernel_template,2.6,rb532,2_6_RB532))
$(eval $(call kernel_template,2.6,x86,2_6_X86))
$(eval $(call kernel_template,2.4,ar531x,2_4_AR531X))
$(eval $(call kernel_template,2.6,aruba,2_6_ARUBA))
$(eval $(call kernel_template,2.6,au1000,2_6_AU1000))
$(eval $(call kernel_template,2.6,xscale,2_6_XSCALE))
$(eval $(call kernel_template,2.6,sibyte,2_6_SIBYTE))
export BOARD
export KERNEL
include $(INCLUDE_DIR)/target.mk
source:
$(MAKE) -C $(BOARD)-$(KERNEL) source
$(MAKE) -C image/$(BOARD) source
prepare:
rm -f $(TOPDIR)/.kernel.mk
@ -38,10 +13,6 @@ compile:
install:
$(MAKE) -C $(BOARD)-$(KERNEL) install
$(MAKE) -C image/$(BOARD) install
clean:
$(MAKE) -C $(BOARD)-$(KERNEL) clean
image/%:
$(MAKE) -C image $(patsubst image/%,%,$@)

Loading…
Cancel
Save