summaryrefslogtreecommitdiff
path: root/target/device/AMD/DBAu1500/Makefile.in
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-12 07:10:54 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-12 07:10:54 +0000
commit5eeac710ca151c7e714350839be491f564ba4488 (patch)
treee7a7b8d51c8ccf1c1efc2cbc5eb29997b5c8a874 /target/device/AMD/DBAu1500/Makefile.in
parentf4d23f7ead1711c89fb6626d29bc1bdfa2c57b91 (diff)
update uClibc config settings and update installation of kernel headers
Diffstat (limited to 'target/device/AMD/DBAu1500/Makefile.in')
-rw-r--r--target/device/AMD/DBAu1500/Makefile.in27
1 files changed, 26 insertions, 1 deletions
diff --git a/target/device/AMD/DBAu1500/Makefile.in b/target/device/AMD/DBAu1500/Makefile.in
index d49034c3c..36cbbd596 100644
--- a/target/device/AMD/DBAu1500/Makefile.in
+++ b/target/device/AMD/DBAu1500/Makefile.in
@@ -1,9 +1,34 @@
ALCHEMY_DBAU1500_PATH=target/device/AMD/DBAu1500
BR2_PACKAGE_BUSYBOX_CONFIG=$(ALCHEMY_DBAU1500_PATH)/busybox.config
-UCLIBC_CONFIG_FILE=$(ALCHEMY_DBAU1500_PATH)/uClibc.config.$(ARCH)
+UCLIBC_CONFIG_FILE=$(TOOL_BUILD_DIR)/uClibc.config.$(ARCH)
TARGET_SKELETON=$(ALCHEMY_DBAU1500_PATH)/target_skeleton
TARGET_DEVICE_TABLE=$(ALCHEMY_DBAU1500_PATH)/device_table.txt
TARGETS+=linux
+
+uclibc_config_file_prep::
+ cp toolchain/uClibc/uClibc-$(UCLIBC_VER).config $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_ISA_1 is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_ISA_2 is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_ISA_3 is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_ISA_4 is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "CONFIG_MIPS_ISA_MIPS32=y" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_ISA_MIPS64 is not set" >> $(UCLIBC_CONFIG_FILE)
+ifeq ($(strip $(BR2_mips)),y)
+ /bin/echo "# ARCH_LITTLE_ENDIAN is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "ARCH_BIG_ENDIAN=y" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# ARCH_WANTS_LITTLE_ENDIAN is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "ARCH_WANTS_BIG_ENDIAN=y" >> $(UCLIBC_CONFIG_FILE)
+endif
+ifeq ($(strip $(BR2_mipsel)),y)
+ /bin/echo "ARCH_LITTLE_ENDIAN=y" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# ARCH_BIG_ENDIAN is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "ARCH_WANTS_LITTLE_ENDIAN=y" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# ARCH_WANTS_BIG_ENDIAN is not set" >> $(UCLIBC_CONFIG_FILE)
+endif
+ /bin/echo "CONFIG_MIPS_O32_ABI=y" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_N32_ABI is not set" >> $(UCLIBC_CONFIG_FILE)
+ /bin/echo "# CONFIG_MIPS_N64_ABI is not set" >> $(UCLIBC_CONFIG_FILE)
+