am df49771a: Allow factory specific kernel commandline

* commit 'df49771a4a82a147e287190f872ab9d0e237a69f':
  Allow factory specific kernel commandline
This commit is contained in:
Nick Sanders
2012-04-06 14:11:10 -07:00
committed by Android Git Automerger

View File

@@ -75,10 +75,15 @@ $(INSTALLED_FACTORY_RAMDISK_FS) : $(MKBOOTFS) \
TARGET_RAMDISK_KERNEL := $(INSTALLED_KERNEL_TARGET)
INSTALLED_FACTORY_RAMDISK_TARGET := $(BUILT_FACTORY_RAMDISK_TARGET)
ifneq (,$(BOARD_KERNEL_CMDLINE_FACTORY_BOOT))
RAMDISK_CMDLINE := --cmdline "$(BOARD_KERNEL_CMDLINE_FACTORY_BOOT)"
else
RAMDISK_CMDLINE :=
endif
$(INSTALLED_FACTORY_RAMDISK_TARGET) : $(MKBOOTIMG) $(TARGET_RAMDISK_KERNEL) $(INSTALLED_FACTORY_RAMDISK_FS)
$(call pretty,"Target factory ram disk img format: $@")
$(MKBOOTIMG) --kernel $(TARGET_RAMDISK_KERNEL) --ramdisk $(INSTALLED_FACTORY_RAMDISK_FS) \
--base $(BOARD_KERNEL_BASE) --output $@
--base $(BOARD_KERNEL_BASE) $(RAMDISK_CMDLINE) --output $@
endif