imx6: image: remove pca955x/ds1672/at24 from Ventana kernel modules
[openwrt/staging/florian.git] / target / linux / imx6 / image / Makefile
index 2181ea5db41fc4239569a46ce35e8525e04ddf51..ad89da8d820759e5ff1a6d7565e87b1855225928 100644 (file)
@@ -37,10 +37,16 @@ define Build/boot-overlay
                --space-fixup --force-compr=zlib --squash-uids \
                $(MKUBIFS_OPTS) -c 8124 \
                -o $@.boot.ubifs -d $@.boot
+
+       $(TAR) -C $@.boot -cf $@.boot.tar .
 endef
 
 define Build/bootfs.tar.gz
-       $(TAR) -C $(IMAGE_KERNEL).boot \
+       rm -rf $@.boot
+       mkdir -p $@.boot
+
+       $(TAR) -C $@.boot -xf $(IMAGE_KERNEL).boot.tar
+       $(TAR) -C $@.boot \
                --numeric-owner --owner=0 --group=0 --transform "s,./,./boot/," \
                -czvf $@ .
 endef
@@ -78,15 +84,17 @@ define Device/ventana
        imx6q-gw54xx \
        imx6q-gw5400-a \
        imx6q-gw551x \
-       imx6q-gw552x
+       imx6q-gw552x \
+       imx6q-gw553x
   DEVICE_PACKAGES := kmod-thermal-imx kmod-sky2 kmod-usb-chipidea-imx kmod-usb-mxs-phy \
        kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
        kmod-can kmod-can-flexcan kmod-can-raw \
-       kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \
+       kmod-hwmon-gsc \
        kmod-leds-gpio kmod-pps-gpio kmod-gw16083 \
        kobs-ng
   KERNEL += | boot-overlay
   IMAGES := nand.ubi bootfs.tar.gz
+  UBINIZE_OPTS :=
   UBINIZE_PARTS = boot=$$(KDIR_KERNEL_IMAGE).boot.ubifs=15
   IMAGE/nand.ubi := append-ubi
   IMAGE/bootfs.tar.gz := bootfs.tar.gz | install-dtb