Commit 6066c27c authored by Charles Jacobsen's avatar Charles Jacobsen Committed by Vikram Narayanan

Fixed up makefiles for testing.

parent 2923bdf2
obj-$(CONFIG_LCD_PROTOTYPE_TEST_CUSTOMER) += customer.o
obj-$(CONFIG_LCD_PROTOTYPE_TEST_DEALER) += dealer.o
obj-$(CONFIG_LCD_PROTOTYPE_TEST_MANUFACTURER) += manufacturer.o
obj-$(CONFIG_LCD_PROTOTYPE_TEST_CUSTOMER) += lcd-prototype-customer.o
lcd-prototype-test-customer-y += customer.o customer-idl.o
obj-$(CONFIG_LCD_PROTOTYPE_TEST_DEALER) += lcd-prototype-dealer.o
lcd-prototype-test-dealer-y += dealer.o dealer-idl.o
obj-$(CONFIG_LCD_PROTOTYPE_TEST_MANUFACTURER) += lcd-prototype-manufacturer.o
lcd-prototype-test-manufacturer-y += manufacturer.o manufacturer-idl.o
......@@ -14,7 +14,7 @@
#include "common.h"
#include "dealer.h"
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
int __customer_init(void)
#else
static int __init customer_init(void)
......@@ -33,7 +33,7 @@ static int __init customer_init(void)
return 0;
}
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
void __customer_exit(void)
#else
static void __exit customer_exit(void)
......@@ -42,7 +42,7 @@ static void __exit customer_exit(void)
LCD_MSG("customer exited");
}
#ifndef CONFIG_RUN_IN_LCD
#ifndef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
module_init(customer_init);
module_exit(customer_exit);
#endif
......@@ -4,7 +4,7 @@
*
*/
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
/* INTERNAL DEFS -------------------------------------------------- */
......@@ -409,4 +409,4 @@ void __exit dealer_exit(void)
module_init(dealer_init);
module_exit(dealer_exit);
#endif /* CONFIG_RUN_IN_LCD */
#endif /* CONFIG_LCD_PROTOTYPE_TEST_IN_LCD */
......@@ -61,7 +61,7 @@ void dealer_return_car(struct automobile *a)
}
EXPORT_SYMBOL(dealer_return_car);
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
int __dealer_init(void)
#else
static int __init dealer_init(void)
......@@ -71,7 +71,7 @@ static int __init dealer_init(void)
return 0;
}
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
void __dealer_exit(void)
#else
static void __exit dealer_exit(void)
......@@ -80,7 +80,7 @@ static void __exit dealer_exit(void)
LCD_MSG("dealer exited");
}
#ifndef CONFIG_RUN_IN_LCD
#ifndef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
module_init(dealer_init);
module_exit(dealer_exit);
#endif
......@@ -4,7 +4,7 @@
*
*/
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
/* INTERNAL DEFS -------------------------------------------------- */
......@@ -384,4 +384,4 @@ void __exit manufacturer_exit(void)
module_init(manufacturer_init);
module_exit(manufacturer_exit);
#endif /* CONFIG_RUN_IN_LCD */
#endif /* CONFIG_LCD_PROTOTYPE_TEST_IN_LCD */
......@@ -75,7 +75,7 @@ static struct manufacturer_interface mi = {
.free_automobile = free_automobile,
};
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
int __manufacturer_init(void)
#else
static int __init manufacturer_init(void)
......@@ -91,7 +91,7 @@ static int __init manufacturer_init(void)
return 0;
}
#ifdef CONFIG_RUN_IN_LCD
#ifdef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
void __manufacturer_exit(void)
#else
static void __exit manufacturer_exit(void)
......@@ -100,7 +100,7 @@ static void __exit manufacturer_exit(void)
LCD_MSG("manufacturer exited");
}
#ifndef CONFIG_RUN_IN_LCD
#ifndef CONFIG_LCD_PROTOTYPE_TEST_IN_LCD
module_init(manufacturer_init);
module_exit(manufacturer_exit);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment