OSDN Git Service

mkostemp: fix implementation
[uclinux-h8/uClibc.git] / Makefile.in
index 946e14e..5d60dda 100644 (file)
@@ -67,7 +67,7 @@ MAKEFLAGS += -L
 $(top_builddir)include/config/linuxthreads/old.h $(top_builddir)include/config/linuxthreads/new.h:
        @true
 
-$(top_builddir)include/generated/unifdef_config.h: $(top_builddir)include/bits/uClibc_config.h| $(top_builddir)include/generated
+$(top_builddir)include/generated/unifdef_config.h: $(top_builddir)include/bits/uClibc_config.h | $(top_builddir)include/generated
        @$(disp_gen)
        $(Q)$(SED) -e '1,3d' $^ > $@
 
@@ -174,6 +174,7 @@ HEADERCLEAN_common:
 headers_clean-y += HEADERCLEAN_common
 HEADERCLEAN_config:
        $(do_rm) -r $(addprefix $(top_builddir)include/,config generated)
+menuconfig-clean-y: HEADERCLEAN_config
 
 # The headers. Arch specific headers are specified via ARCH_HEADERS in
 # libc/sysdeps/linux/$(TARGET_ARCH)/Makefile.arch which appends those via
@@ -250,6 +251,8 @@ HEADERS_RM- := \
        bits/uClibc_va_copy.h \
        bits/sigcontextinfo.h \
        bits/stackinfo.h \
+       atomic.h \
+       bits/atomic.h \
        tls.h \
        rpc/des_crypt.h \
        rpc/key_prot.h \
@@ -273,7 +276,7 @@ HEADERS_RM-$(UCLIBC_HAS_GETTEXT_AWARENESS)   += libintl.h
 HEADERS_RM-$(UCLIBC_HAS_GLIBC_CUSTOM_PRINTF) += printf.h
 HEADERS_RM-$(UCLIBC_HAS_GLOB)                += glob.h
 HEADERS_RM-$(UCLIBC_HAS_GNU_ERROR)           += error.h
-HEADERS_RM-$(UCLIBC_HAS_GNU_GETOPT)$(UCLIBC_HAS_GETOPT_LONG) += getopt.h
+HEADERS_RM-$(UCLIBC_HAS_GETOPT_LONG)         += getopt.h
 HEADERS_RM-$(UCLIBC_HAS_IPV6)                += netinet/ip6.h netinet/icmp6.h
 HEADERS_RM-$(UCLIBC_HAS_BACKTRACE)           += execinfo.h
 HEADERS_RM-$(UCLIBC_HAS_LOCALE)              += iconv.h bits/uClibc_ctype.h
@@ -495,7 +498,7 @@ defconfig: $(conf)   ; $(cmd_defconfig)
 %_defconfig: $(conf) ; $(cmd_defconfig)
 
 savedefconfig: $(conf)
-       $(Q)$< -S $(KCONFIG_CONFIG) $(Kconfig)
+       $(Q)$< -S defconfig $(Kconfig)
 listnewconfig: $(conf)
        $(Q)$< -l $(Kconfig)
 olddefconfig: $(conf)